Re: Providing ks.cfg with dhcp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Assuming that you didn't do a typo with the rh9.cfg/ks.cfg thing...

You might want to try this in your dhcpd.conf
	host your_hostname { hardware ethernet your_ethernet_address;
filename "/home/kickstart/ks.cfg"; }

dhcpd should log to your messages log with syslog so if it's not working
it might give you a clue.

The alternate file it's looking for is a default location that ks looks
for so you could always create a link there and leave all of file stuff
out of dhcp.

Also you don't need to type 'linux ks' apparently it works but 'ks' is
enough.

Hope this helps.
-Kelly

On Thu, 29 Apr 2004, Joseph Glass wrote:

> Hi everyone,
>
> I'm trying to provide my ks.cfg over dhcp so I only need to type 'linux
> ks' at the boot prompt.  The dhcpd/kickstart server are on the same
> machine (192.168.0.1.)  dhcp works, as well as kickstart if I run the
> following command manually:
>
> linux ks=nfs:192.168.0.1:/home/kickstart/rh9.cfg
>
> In my dhcpd.conf file, I added following line in the subnet {} section:
>
> filename "/home/kickstart/ks.cfg";
>
> My /etc/exports file contains the following:
>
> /home/kickstart *(ro)
>
> The error I get is:
>
> bootp: no bootfile received
>
> Then it proceeds to look for the kickstart file at
> nfs:192.168.0.1:/kickstart/kickstart-192.168.0.18
>
> Any suggestions?
>
> Thanks for helping me with the question about using perl in %pre.  Since
> you can't use perl in %pre from just the install CD, I ended up porting
> my script to python which works well.  And I learned a new programming
> language in the process :).
>
> Thank you.
>
> --
> Joseph Glass
> Systems Administrator
> Liquid Web Inc.
> 800.580.4985 x227
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
>



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux