Mailinglist Archive: opensuse-autoinstall (70 mails)

< Previous Next >
[opensuse-autoinstall] Network and file systems availability during user script levels
  • From: "Andrew Laden" <Andrew.Laden@xxxxxxxxx>
  • Date: Wed, 13 Dec 2006 11:07:46 -0500
  • Message-id: <496A4C483DD4504C84C0094D9C48CFD30EBCF8A3@xxxxxxxxx>
Heya all

Since I cant seem to get the <location> option to work, and since in
sles10, init scripts changed to run before the network is up. (which
defeats the purpose I needed them for anyway) My current plan is to
write a small script that I can place in the xml that will, at the
appropriate time, mount the nfs share, copy the files into place, and
then unmount. My question is what is the right phase to run in?

The 6 possible phase are:
Pre-install
Chroot (pre chroot)
Chroot (post chroot)
Post install (network available)
Post install (no network)
Init

Pre-install work work as the File system isnt there. Post install (no
network) work work as I have no network. Init wont work, in sles 10 I
wont have network. (there is another issue in that I want the script I
am downloading to run in an rc level, so placing it duing init time
would be too late anyway.)

Is the network available during the chroot phases? My best option would
be during the chroot (post chroot) phase, as I can drop the file in and
then do a chkconfig -a to get them added in to the boot sequence.

If that doesn't work, then where is the file system located in the
post-install (network available) phase, so I can drop the files in
myself.

Thanks
-Andrew

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

< Previous Next >
Follow Ups