Ian Grant Ian.Grant@cl.cam.ac.uk wrote on 08/31/2006 03:33:14 AM:
# Does anyone have XML for OpenSUSE 10.1 to cause autoyast to do an # online update at install time? I am hoping this is better than the # farce we have to go through at the moment to run it after the # autoyast install: it has to be run, interactively, four times to get # the security/recommended updates done.
<script> <filename>3-start_you.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/sh /bin/chvt 9 exec < /dev/tty9 > /dev/tty9 echo Performing online update... online_update -l en -u http://my-system/srv/suseupdate -V SuSEconfig echo Rebooting the computer now to use the new kernel. sleep 5 /bin/chvt 1 shutdown -r now ]]> </source> </script> </init-scripts> </scripts>