Mailinglist Archive: opensuse-autoinstall (70 mails)

< Previous Next >
RE: [opensuse-autoinstall] Network and file systems availability during user script levels
  • From: "Andrew Laden" <Andrew.Laden@xxxxxxxxx>
  • Date: Wed, 13 Dec 2006 16:24:33 -0500
  • Message-id: <496A4C483DD4504C84C0094D9C48CFD30EBCF8FB@xxxxxxxxx>
To people who have gotten <location> references to work, can you email
me

1: The relevent (scripts) portion of your autoyast.xml
2: A pxeboot config file.

I am curious if tweaking the dhcp settings may help. I tried a boot with
DHCP=0 and useDHCP=0, passing in HostIP, IPAddr, netmask, gateway and
nameserver.
Not only did the <location> script still not get installed, but the
installation bombed out after reboot, as for some reason, post install
it tries to install libcap from the nfs source. Since this works with
DHCP, it seems that there must be some network up at some point after
the reboot before autoyast is finished.

Which goes back to my original question. At what script point are both
the network and the filesystem available. (and where)



> -----Original Message-----
> From: Andrew Laden [mailto:Andrew.Laden@xxxxxxxxx]
> Sent: Wednesday, December 13, 2006 12:46 PM
> To: Jorge Alvarado; Rich; opensuse-autoinstall@xxxxxxxxxxxx
> Subject: RE: [SPAM] - RE: [opensuse-autoinstall] Network and
> file systems availability during user script levels - Email
> found in subject
>
> Makes 2 of us.
>
> 2006-12-12 17:15:06 <3> linux(3497) [agent-curl]
> CurlAgent.cc(Get):70 curl told us 7
>
> Were you using static IP's or DHCP?
>
> > -----Original Message-----
> > From: Jorge Alvarado [mailto:jalvarado@xxxxxxxxxxxxx]
> > Sent: Wednesday, December 13, 2006 12:09 PM
> > To: Andrew Laden; Rich; opensuse-autoinstall@xxxxxxxxxxxx
> > Subject: RE: [SPAM] - RE: [opensuse-autoinstall] Network and file
> > systems availability during user script levels - Email found in
> > subject
> >
> > yep, I couldn't get <location> to work for a post-install script.
> > y2log had a curl rc 7 failure when retrieving the script. I
> tried ftp
> > and http, no luck.
> >
> > so, I would also be interested in any debug info...I may
> revisit this
> > later.
> >
> > -----Original Message-----
> > From: Andrew Laden [mailto:Andrew.Laden@xxxxxxxxx]
> > Sent: Wednesday, December 13, 2006 11:02 AM
> > To: Rich; opensuse-autoinstall@xxxxxxxxxxxx
> > Subject: [SPAM] - RE: [opensuse-autoinstall] Network and
> file systems
> > availability during user script levels - Email found in subject
> >
> >
> > > Andrew Laden wrote:
> > > > Heya all
> > > >
> > > > Since I cant seem to get the <location> option to work,
> > and since in
> > >
> > > i can get <location> working just fine, using http://<ip>/path it
> > > kinda "just worked" for me :)
> >
> > At least one other person responded that they didn't work.
> > Maybe it is isolated to a particular network card or config?
> > I don't know. These two errors lead me to think it's a
> > network issue. (I did also try http, with the same lack of success.)
> >
> > 2006-12-12 14:54:10 <3> linux(3497) [bash]
> > ShellCommand.cc(shellcommand):73 mount server reported tcp
> > not available, falling back to udp
> > 2006-12-12 14:54:10 <3> linux(3497) [bash]
> > ShellCommand.cc(shellcommand):73 mount: RPC: Remote system
> > error - Network is unreachable
> >
> > If there is any other debugging I can do, please let me know.
> >
> > >
> > > > sles10, init scripts changed to run before the network is
> > up. (which
> > >
> > > hmm. not according to
> > > http://www.suse.com/~ug/autoyast_doc/createprofile.scripts.htm
> > > l (and my
> > > setup) :
> > >
> > > "Starting from SLES9, network is not available during
> > > post-installation script execution. To access the
> network, network
> > > device has to be configured in the script.
> > >
> > > It is possible to execute the post scripts in an earlier
> > phase while
> > > the installation network is still up and before AutoYaST
> configures
> > > the system. To run network enabled post scripts, the
> > boolean property
> > > network_needed has to be set to true."
> > >
> > > this is about postinstall, not init scripts - which, in turn :
> > >
> > > "These scripts are executed during the initial boot process
> > and after
> > > YaST2 has finished. The final scripts are executed using
> a special
> > > init.d script which is executed only once. The final scripts are
> > > executed toward the end of the boot process and after
> > network has been
> > > intialized."
> > >
> > > i have an init script which nicely downloads required
> files, and it
> > > works fine.
> >
> > Check the release notes for Changes between sles10 and sp1
> > http://www.suse.com/~ug/autoyast_changes_SLES10SP1.html
> > [bug] init-script does not require network now
> >
> > --
> > To unsubscribe, e-mail:
> opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
> > For additional commands, e-mail:
> > opensuse-autoinstall+help@xxxxxxxxxxxx
> >
> >
> --
> To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
> For additional commands, e-mail:
> opensuse-autoinstall+help@xxxxxxxxxxxx
>
>
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >