[CentOS] Kickstart + CentOS 5 = doesn't prompt for network information?
Ray Van Dolson
rvandolson at esri.com
Wed Dec 12 17:11:24 UTC 2007
On Sat, Dec 08, 2007 at 03:28:36PM +0000, Karanbir Singh wrote:
> Ray Van Dolson wrote:
> > Perhaps for CentOS 5 kickstarts I should just not include the network
> > option at all in order to make the network configuration screen
> > accessible inside the installer?
>
> you can try run anaconda in debug mode to work out exactly what is going
> on at what stage..
Booted with loglevel=debug and syslog set and also am using logging
--level=debug in my kickstart file.
I don't really see anything too informative in the debug output though:
Dec 12 09:04:32 10.49.51.39 DEBUG no preexisting size for volume group VolGroup00
Dec 12 09:04:32 10.49.51.39 DEBUG got pv.size of 20371.4868164, clamped to 20352
Dec 12 09:04:32 10.49.51.39 DEBUG total space: 20352
Dec 12 09:04:41 10.49.51.39 INFO moving (1) to step partitiondone
Dec 12 09:04:41 10.49.51.39 INFO moving (1) to step partitiondone
Dec 12 09:04:41 10.49.51.39 INFO moving (1) to step bootloadersetup
Dec 12 09:04:41 10.49.51.39 INFO moving (1) to step bootloadersetup
Dec 12 09:04:41 10.49.51.39 INFO moving (1) to step bootloader
Dec 12 09:04:41 10.49.51.39 INFO moving (1) to step bootloader
Dec 12 09:04:56 10.49.51.39 INFO moving (1) to step networkdevicecheck
Dec 12 09:04:56 10.49.51.39 INFO moving (1) to step networkdevicecheck
Dec 12 09:04:56 10.49.51.39 INFO moving (1) to step timezone
Dec 12 09:04:56 10.49.51.39 INFO moving (1) to step timezone
Dec 12 09:05:21 10.49.51.39 INFO moving (1) to step accounts
Dec 12 09:05:21 10.49.51.39 INFO moving (1) to step accounts
Dec 12 09:05:27 10.49.51.39 INFO moving (1) to step reposetup
Dec 12 09:05:27 10.49.51.39 INFO moving (1) to step reposetup
Perhaps it should normally stop at networkdevicecheck? The
documentation seems to imply that if the kickstart installation
requires networking but no network configuration has been provided in
the kickstart file, then it is assumed that both the installer and the
installed system should acquire its IP address via DHCP.
So it seems my only option will be to either specify the network
information inside the kickstart file or to not use the network to
install the system which would then prompt me for network information.
http://www.centos.org/docs/5/html/5.1/Installation_Guide/s1-kickstart2-options.html
This is different than the behavior in RHEL4/CentOS 4. I guess I will
take this discussion to the kickstart list for now.
Ray
More information about the CentOS
mailing list