Mailinglist Archive: opensuse-autoinstall (110 mails)

< Previous Next >
Re: [suse-autoinstall] OpenSUSE 10.1 Online update in autoyast
  • From: gordon_schumacher@xxxxxxxxxx
  • Date: Thu, 31 Aug 2006 18:19:21 +0000 (UTC)
  • Message-id: <OF1545E440.BE778035-ON872571DB.0064949D-872571DB.0064A353@xxxxxxxxxxx>

Ian Grant <Ian.Grant@xxxxxxxxxxxx> 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>


< Previous Next >
This Thread