Hi, in SUSE 9.2 network is running when postinstall scripts are executed - the first thing I do is executing a script on NFS. SLES 9 and SUSE 9.1 might be different. On Thu, 24 Feb 2005 Andreas.Matthieu@tfa.brandenburg.de wrote:
Hi Charles,
at postinstall step network are not running [SLES9: AY boot, setup network, install packages (second step), stop network, configure network (but let it down), start postscripts, continue boot with startup network]. Try "ifconfig ethX up" in postscript before use network.
Regards,
Andreas
-----Ursprüngliche Nachricht----- Von: Charles.Suffin@stratus.com [SMTP:Charles.Suffin@stratus.com] Gesendet am: Donnerstag, 24. Februar 2005 16:41 An: todd.ness@eds.com; suse-autoinstall@lists.suse.com Betreff: RE: [suse-autoinstall] post-install scripts
Hmm... OK, I'd swear I was unable to use http: during my post-install scripts (when I did my testing), but maybe I goofed. Thanks!
-----Original Message----- From: Ness, Todd [mailto:todd.ness@eds.com] Sent: Thursday, February 24, 2005 10:36 AM To: suse-autoinstall@lists.suse.com Subject: RE: [suse-autoinstall] post-install scripts
This happens during the post-scripts section of the auto install process. Also, I am doing network builds so the networking has to be up and running. So, I download one script that downloads and executes the rest of the scripts.
<scripts> <pre-scripts config:type="list"> </pre-scripts> <post-scripts config:type="list"> <script> <filename>cleanup</filename> <interpreter>shell</interpreter> <source> <![CDATA[ echo writing profile echo "d-default" > /etc/MSDprofile echo getting scripts /usr/bin/wget http://1.2.3.4/install/postinst.sh -O /tmp/postinst.sh chmod 555 /tmp/postinst.sh /tmp/postinst.sh exit 0]]> </source> </script> </post-scripts> </scripts>
-----Original Message----- From: Suffin, Charles [mailto:Charles.Suffin@stratus.com] Sent: Thursday, February 24, 2005 7:38 AM To: Ness, Todd; suse-autoinstall@lists.suse.com Subject: RE: [suse-autoinstall] post-install scripts
Guys, quick question...
I found that the post-install scripting environment -- which runs after the reboot -- didn't have networking set up yet (whereas chroot scripts run before the reboot and have the network running).
Do you guys (Todd) do some magic to enable the network for the operation of post-install scripts so you could use wget? What I do is use wget during chroot scripts and store the files in /mnt/... (which gets mounted as root after the reboot).
-- Charlie
-----Original Message----- From: Ness, Todd [mailto:todd.ness@eds.com] Sent: Thursday, February 24, 2005 9:31 AM To: suse-autoinstall@lists.suse.com Subject: RE: [suse-autoinstall] post-install scripts
Just a thought, I wrote a post-install wrapper that gets scripts via wget and those scripts are S01name.. S20name and then executes them serially similar to rc startup scripts.
-----Original Message----- From: Anas Nashif [mailto:nashif@suse.de] Sent: Thursday, February 24, 2005 7:15 AM To: Mitko Haralanov Cc: suse-autoinstall@lists.suse.com Subject: Re: [suse-autoinstall] post-install scripts
They are executed in the order they appear in the XMl file.
Anas
Mitko Haralanov wrote:
I have recently started working on a autoyast configuration file for
SuSE9.1. In the process of generating the file, I have created several post-install scripts which configure different parts of the system. The question that I have is: what is the order in which the scripts are going to be executed? Currently some of the post-install scripts depend on others and I need to be sure in what order they will be executed.
Thanx
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- Andreas Vetter Universitaet Wuerzburg, Theoretische Physik 1 Am Hubland, 97074 Wuerzburg, Deutschland / Germany