Mailinglist Archive: opensuse-autoinstall (70 mails)
| < Previous | Next > |
RE: [opensuse-autoinstall] Init-scripts and nfs location
- From: "Andrew Laden" <Andrew.Laden@xxxxxxxxx>
- Date: Thu, 14 Dec 2006 09:47:34 -0500
- Message-id: <496A4C483DD4504C84C0094D9C48CFD30EBCF937@xxxxxxxxx>
> Andrew Laden wrote:
> > Does this work with DHCP? If you set your interfaces to configure
> > themselves with dhcp, then will a simple /sbin/ifup $nic have them
get
> > an IP address also? (I am going back and forth with the idea of
giving
> > all my servers static IP's or letting them all dhcp. If I let them
all
> > dhcp, then I can basically use 1 xml for all my machines. If I want
> > static addresses, then I have to build an xml per machine.)
> >
>
> Yes, it works with DHCP or static, basically just uses what
> AutoYaST configured the nic for at install time. I realize
> now I probably just could have done a /etc/init.d/network
> start || stop to achieve the same thing, I can't remember why
> I made it more complex. It's been a while and just works for
> us. And at this point DNS is up and configured so that works as well.
>
So then, I should be able to write a post-install script that
/etc/init.d/network start
Mount nfs share
Copy file over
Do chkconfig voodoo to get it to run when I want in the boot.
/etc/init.d/network stop
Is it that simple. (I'll let you know after I test)
-Andrew
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
> > Does this work with DHCP? If you set your interfaces to configure
> > themselves with dhcp, then will a simple /sbin/ifup $nic have them
get
> > an IP address also? (I am going back and forth with the idea of
giving
> > all my servers static IP's or letting them all dhcp. If I let them
all
> > dhcp, then I can basically use 1 xml for all my machines. If I want
> > static addresses, then I have to build an xml per machine.)
> >
>
> Yes, it works with DHCP or static, basically just uses what
> AutoYaST configured the nic for at install time. I realize
> now I probably just could have done a /etc/init.d/network
> start || stop to achieve the same thing, I can't remember why
> I made it more complex. It's been a while and just works for
> us. And at this point DNS is up and configured so that works as well.
>
So then, I should be able to write a post-install script that
/etc/init.d/network start
Mount nfs share
Copy file over
Do chkconfig voodoo to get it to run when I want in the boot.
/etc/init.d/network stop
Is it that simple. (I'll let you know after I test)
-Andrew
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |