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

Re: net kickstarts using HW address


here is an idea.

(This assumes that both the kickstarting client and server are on the same ethernet segment.)

put your kickstart file on a web server and pull the file from the web server. the kickstart file is actually a dymanic web page (PHP, Perl, whatever) that checks the client ip and matches it to a MAC address using the arp command listing and then sends the correct kickstart file accordingly.

Any other ideas anyone?

Jason Edgecombe

Andy Grimm wrote:

(This is really a question for a C guru, but it pertains to kickstart, and I
know there are people who haev wanted to do this sort of thing before...)

I would like to do kickstarts on several machines, and I have no problem
booting via PXE (downloading the bootstrap image, the kernel, and the initrd
via mtftp). The problem is that I do not control the DHCP server in this
environment, so I cannot predict what IP address these machines will get for
the install process. Unfortunately, the loader's default behavior is to
download a kickstart config file based on the machine's IP address, and I'd
like to use the HW address instead. I've looked at the code and found
where all this is done, and here's my question:

Is there any reasonable way to get my HW address at this point?  I've asked
a couple of friends, and so far the best answer I've gotten required opening
up a socket, and it just seems like there should be an easier way (like an
arp-related function call).


Kickstart-list mailing list
Kickstart-list redhat com

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