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

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

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: