I would like one of my kickstart scripts to prompt for disk and networking only. Commenting out the disk and network settings makes the installer prompt for disk settings but not for network settings, they default to DHCP. Any idea's how to fix this?
Thanks
Dean
Plant, Dean wrote:
I would like one of my kickstart scripts to prompt for disk and networking only. Commenting out the disk and network settings makes the installer prompt for disk settings but not for network settings, they default to DHCP. Any idea's how to fix this?
I think you need to have the network settings defined - something like:
network --bootproto static
If you don't give it an IP address (with the --ip option), then it will prompt for it. This is what I do for NFS installs - as my netmask, gateway and nameserver addresses are static, I also give these on the network line.
James Pearson
This Below link will help you out
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/System_Adm...
----- Original Message ----- From: "James Pearson" james-p@moving-picture.com To: "CentOS mailing list" centos@centos.org Sent: Tuesday, April 22, 2008 6:14 PM Subject: Re: [CentOS] Kickstart network settings problem
Plant, Dean wrote:
I would like one of my kickstart scripts to prompt for disk and networking only. Commenting out the disk and network settings makes the installer prompt for disk settings but not for network settings, they default to DHCP. Any idea's how to fix this?
I think you need to have the network settings defined - something like:
network --bootproto static
If you don't give it an IP address (with the --ip option), then it will prompt for it. This is what I do for NFS installs - as my netmask, gateway and nameserver addresses are static, I also give these on the network line.
James Pearson _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, Apr 22, 2008 at 12:47:39PM +0100, Plant, Dean wrote:
I would like one of my kickstart scripts to prompt for disk and networking only. Commenting out the disk and network settings makes the installer prompt for disk settings but not for network settings, they default to DHCP. Any idea's how to fix this?
I'm assuming you are using CentOS 5 here. I'm not sure why upstream disabled this feature -- it was very useful to be able to use kickstart with a DHCP IP address initially, but still be prompted for network information during the installer portion later (as it did in RHEL4).
See:
https://bugzilla.redhat.com/show_bug.cgi?id=401531
In addition, I have an RFE in with Upstream to re-add this feature and I believe it's slated for inclusion in 5.2 with the --bootproto=query option.
The attachment there however:
https://bugzilla.redhat.com/attachment.cgi?id=291881
patches Anaconda to not skip the network step during installation. I've been using this successfully here to "do what I need" while waiting for the official fix.
You can include this in an updates.img file and have it loaded automatically on installs.
Ray