[CentOS] Why i can't configure network and hostname with this kickstart file?

nate centos at linuxpowered.net
Sat Sep 27 13:16:45 UTC 2008


Zhang Huangbin wrote:
> Hi, all.
>
> I use this kickstart file to install CentOS 5.2 (both i386 and x86_64),
> but i can't config NICs and hostname during installation, what's wrong
> with it?

Maybe because the network configuration is EXPLICITLY DISABLED?

> # Configures network information for the system.
> #network --bootproto=dhcp
[..]
> # Network information
> #network --bootproto=dhcp --device=eth0 --onboot=on

Sample kickstart config for my systems:

http://portal.aphroland.org/~aphro/centos_5_1_32.cfg

nate



More information about the CentOS mailing list