Do you not use cobbler?  You should be able to get cobbler to generate dhcpd 
(ISC)/named(bind) configurations as well as (in my opinion) the easier dnsmasq.

In order to get it to add to the configurations, you need to add the host to 
cobbler before you kickstart.  i.e., use cobbler system add and ensure you set 
the appropriate fields (hostname, network, etc).

After the system is added, you'd perform a cobbler sync to get the 
configurations generated for the new host.  In fact, you'd should see a 
dhcpd.conf file entry that looks almost identical to the one you posted.

Thanks!

From: Mohit Vadhera 
<[email protected]<mailto:[email protected]>>
Reply-To: spacewalk-list 
<[email protected]<mailto:[email protected]>>
Date: Monday, February 11, 2013 2:44 AM
To: spacewalk-list <[email protected]<mailto:[email protected]>>
Subject: [Spacewalk-list] Questions on kickstart

Hi,


I am following the url to configure Kickstart 
https://fedorahosted.org/spacewalk/wiki/HowToKickstartCobbler . I have few 
questions to test for one machine and bigger network. I didn't work on 
Kickstart that much.

1) I want the kickstart to test for one IP. How can i restrict for one IP . Do 
I need to give below statements in dhcpd.conf for one IP or any better way ?

      host test {
            hardware ethernet 00:50:56:99:15:d6;
            fixed-address 192.20.3.250;
               }

2) In a bigger network where multi subnets works. How should I install new OS 
on the new machine.  Do I need to restrict dhcpd.conf every time to restrict 
one IP.  How will i manage ?

3) If there is a running machine and by mistake it boot up with PXE . This can 
reformat the machine and install the OS. How can i overcome this ?


Thanks,
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to