[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Kickstart no DHCP/BOOTP - is it possible?



On Wed, 2004-07-28 at 17:04, Rafael Ferreira wrote:
> Hey guys, 
> 
> I was wondering if there is a way to have a kick start based
> installation with the install tree on an http server that does not
> require DHCP or BOOTP (our wan guys do not like dhcp servers on our
> lan). So... in other words, the kickstart file would be in a floppy/cd
> and  the install would prompt for the network settings are some point,
> is this at all possible? If not, would it be possible to have a cd
> based kickstart install?
> 
> -Rafael

Assuming you are kickstarting RHEL3, yes. See the file:

/usr/share/doc/anaconda-9.1.3/command-line.txt

Specifically the options:

ip=<ip>         IP to use for a network installation, use 'dhcp' for
DHCP.

netmask=<nm>    Netmask to use for a network installation.

gateway=<gw>    Gateway to use for a network installation.

dns=<dns>       Comma separated list of nameservers to use for a
                network installation.

These all go on the command line when you boot the CD:

boot: linux ks=floppy ksdevice=eth1 ip=192.168.0.2 \
      netmask=255.255.255.0 gateway=192.168.0.1 dns=192.168.0.1

(you can't really wrap the line with a "\")

It's also possible to put the ks.cfg on the http:// server and specify
it's location with ks=http://192.168.0.1/kickstart/ks.cfg

-- 
Chris Kloiber, RHCX
Global Support Services
Red Hat, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]