[CentOS] Kickstart: Give IP From ks= Cmdline A Myth?

Wed Dec 27 20:19:47 UTC 2006
mike.redan at bell.ca <mike.redan at bell.ca>

> Hey, someone just told me yesterday that I can give my machine an 
> initial IP address, gateway, dns server, and netmask via command line 
> like this:

> linux ks=http://www.mydomain.com/kick.ks ip= 
> netmask= gateway= dns=

> Is this true?  Is the syntax wrong or right?

>From what I understand, the syntax you mention above will only assign
the network information to that host for the duration of the kickstart.
It will not permanently assign that info to the kickstarted machine.

I think what you are looking for is something inside your ks file,
something like this:

network --bootproto=static --ip= --netmask=
--gateway= --nameserver= --device=eth0
--hostname myhost.home.org

> If so, and I call my kick.ks file and it has
> install
> cdrom

> it'll pull the files from the CD but won't launch the CD install
> I just want to initiate a kickstart where the systems get their drive 
> partitioning info, IP addressing & hostname attributes, and minimal 
> install packages, from the kickstart file.

Yep, that's right.