PS. I found this in the y2log-1 file: "post-scripts":[$["location":"http://t2nl-app205/scripts/ntp.conf.sh"]] This was the only reference in the file for ntp.conf S. Simon Loewenthal/NL/Tele2 wrote:
Hi all,
Its been a while since I addressed my autoyast server, because I had to move it to another location and set things up again. So back to post-installs:
I mended some typographical errors in the directives below, and installed once more. However, yast eventually gave a nice blue screen after it had rebooted. It has these tabs: Help Back Abort Next, but not much else, and these are locked up. When I remove these portions of the directive the install process completes: <interpreter>shell</interpreter> <filename>ntp.conf.sh</filename>
The current post install directive reads as this,
<post-scripts config:type="list"> <script> <location>http://t2nl-app205/scripts/ntp.conf.sh</location> <interpreter>shell</interpreter> <filename>ntp.conf.sh</filename> </script>
...& the contents of ntp.conf.sh on the http server reads, (it is /tmp/ntp.conf for test purposes) cat > /tmp/ntp.conf << EOF server 127.127.1.0 fudge 127.127.1.0 stratum 10 driftfile /var/lib/ntp/drift/ntp.drift logfile /var/log/ntp keys /etc/ntp.keys trustedkey 1 requestkey 1 server 10.254.26.3 iburst restrict 10.254.26.2 restrict time.versatel.com EOF chmod 640 /tmp/ntp.conf chown root:ntp /tmp/ntp.conf
Uwe Gansert wrote:
on Thursday 08 October 2009 Simon Loewenthal/NL/Tele2 wrote:
I had this in the autoyast.xml:
</users> <post-scripts config:type="list"> <script>
<location>http://t2nl-app200:/export/postinstall/scripts/ntp.conf.sh</locat ion> </script> </post-scripts> </profile>
all kind of scripts have to be in the <scripts> section. See the examples: http://www.suse.de/~ug/autoyast_doc/createprofile.scripts.html <post-scripts> is not under <profile> but under <scripts> which is under <profile>
-- Simon Loewenthal/Tele2 GSM: +31 6 2000 5427 [ -d . ] || echo 'Oh!' ******** IMPORTANT NOTICE ******** This e-mail (including any attachments) may contain information that is confidential or otherwise protected from disclosure and it is intended only for the addressees. If you are not the intended recipient, please note that any copying, distribution or other use of information contained in this e-mail (and its attachments) is not allowed. If you have received this e-mail in error, kindly notify us immediately by telephone or e-mail and delete the message (including any attachments) from your system. Please note that e-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be subject of unauthorized interception or other interference without the knowledge of sender or recipient. Tele2 only send and receive e-mails on the basis that Tele2 is not responsible for any such computer viruses, corruption or other interference or any consequences thereof. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org