logo       

Re: define network in kickstart pre script: msg#00086

linux.redhat.release.rhel5

Subject: Re: define network in kickstart pre script



> > You can specify network info on the kernel boot line, i.e.:
>
> > linux ks=http://blah/ks.cfg ip=$ip netmask=$netmask gateway=$gateway
> > dns=$dns_server

> > If you provide the static networking parameters as options at the
> > 'boot:' prompt, and have a 'network' line like this in your ks.cfg,
> > then the system gets configured appropriately:
> >
> > network --bootproto=static --noipv6
> >
> > In my experience, the system is not configured correctly if you
> > provide the network parameters in the dialog boxes. (Don't know if
> > this has changed recently, like since 5.0, but it sounds like it
> > hasn't from your comments.)
>
> Thank you! Let me give that a try. While that does make for a long boot
> option, so did having it inside the url. But this would be much cleaner.
>

So I just tried it... and voila! thanks you guys. That makes my life so
much easier.


-greg


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise