From listuser@adnovum.ch Wed Nov 9 08:32:15 2005 From: Bernd Nies To: autoinstall@lists.opensuse.org Subject: AutoYast script location Date: Wed, 09 Nov 2005 08:32:15 +0000 Message-ID: <4371B3F5.2050208@adnovum.ch> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1049447647107783366==" --===============1049447647107783366== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, I'm preparing an installation DVD for SLES9 SP and want to use AutoYast with XML control file and customized shell scripts. Because I don't want copy the shell code into every XML control file I want it separately on the DVD. Is the following possible? Or does one need to write a wrapper script that mounts the DVD, copies and executes the script manually? How can this be done during chroot installation phase when the name of the CD/DVD device file is not known and the /dev/cdrom link does not yet exist? Regards, Bernd --===============1049447647107783366==-- From ug@suse.de Wed Nov 9 09:20:23 2005 From: Uwe Gansert To: autoinstall@lists.opensuse.org Subject: Re: [suse-autoinstall] AutoYast script location Date: Wed, 09 Nov 2005 09:20:23 +0000 Message-ID: <200511091020.21608.ug@suse.de> In-Reply-To: <4371B3F5.2050208@adnovum.ch> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5761844269880161079==" --===============5761844269880161079== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wednesday 09 November 2005 09:31, Bernd Nies wrote: > I'm preparing an installation DVD for SLES9 SP and want to use AutoYast > with XML control file and customized shell scripts. Because I don't want > copy the shell code into every XML control file I want it separately on > the DVD. Is the following possible? > > > > "dvd" is not known as a scheme by autoyast. You should try file:///autoyast/post-install.sh You'll not have the script in the installation system so one might think that "file:///" can't work but Autoyast should try to find the script on the installation media (CD,DVD) as a fallback then too. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert(a)suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de --===============5761844269880161079==-- From listuser@adnovum.ch Wed Nov 9 11:30:18 2005 From: Bernd Nies To: autoinstall@lists.opensuse.org Subject: Re: [suse-autoinstall] AutoYast script location Date: Wed, 09 Nov 2005 11:30:18 +0000 Message-ID: <4371DDC7.3000407@adnovum.ch> In-Reply-To: <200511091020.21608.ug@suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3173127787014409141==" --===============3173127787014409141== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi Uwe, > "dvd" is not known as a scheme by autoyast. You should try > file:///autoyast/post-install.sh > You'll not have the script in the installation system so one might think > that "file:///" can't work but Autoyast should try to find the script on > the installation media (CD,DVD) as a fallback then too. Yup, this works and reads the script from DVD: Thanks! Regards, Bernd --===============3173127787014409141==--