Mailinglist Archive: opensuse-autoinstall (51 mails)

< Previous Next >
Re: [opensuse-autoinstall] Location for image installation with autoyast
  • From: Uwe Gansert <ug@xxxxxxx>
  • Date: Wed, 15 Jul 2009 17:10:07 +0200
  • Message-id: <200907151710.07828.ug@xxxxxxx>
on Tuesday 09 June 2009 Uwe Gansert wrote:

But i'd like to store both the script and the image that will be used
in the installation on the media DVD, the script_location tag may have
device://<cdrom_device>/image.sh parameter??

yes, you can use device, like you can use it for the autoyast=....
parameter you can use file:///... too, then autoyast will fall back to the
cdrom drive if it cant find it in the filesystem

just for the archive, I did a test and that worked fine:

I created an ISO (based on a SLES11 but all RPM files deleted) with the
following image files on it:

* image.sh
* image_test.xml
* suse-oem-preload.tar.bz2

and that worked with:
autoyast=file:///image_test.xml

and an image.sh like this:

mv /mnt/etc/fstab tmp
mkdir /tmp/mnt
mount /dev/sr0 /tmp/mnt
tar xfj /tmp/mnt/suse-oem-preload.tar.bz2 -C /mnt 2>/dev/null
mv /tmp/fstab /mnt/etc
umount /tmp/mnt

the relevant part in the xml file is:

<software>
<image>
<script_location>file:///image.sh</script_location>
<run_kickoff config:type="boolean">true</run_kickoff>
</image>
</software>

that installed a SLES 11 system quite fine here
You should add a working installation source at the end of the installation
via "zypper as" and remove the "broken" on the the CD with "zypper rs"

--
ciao, Uwe Gansert

Uwe Gansert
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Business: http://www.suse.de/~ug

--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >