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://
/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>