On 2012-04-07 13:05, Glenn Sieb wrote:
But what I want is to do something like this: 1) Have a list of hostnames on $PXESERVER (accessible via HTTP). 2) Have the script pull the a hostname from that list. 3) Mark that hostname in the list so that it is now shown as being "in use" and have the script check to make sure it doesn't pull that hostname again (unless/until we "unmark it").
This seems a very complicated way to solve this. What I've usually seen is to assign a hostname to a mac address, set that up in your dhcp server, and most distros (all?) will assign that name to the host during install automatically. It has the advantage of limiting damages to specific machines, if they get rebooted in pxe boot mode.
-- Yves. http://www.SollerS.ca/ http://ipv6.SollerS.ca http://blog.zioup.org/ _______________________________________________ Tech mailing list [email protected] https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/
