Hi, Is there a standard approach people are using to have the config on their DHCP server updated to remove the filename and next-server lines for a particular client after that client is installed?
This strikes me as an important part of a complete automation solution but I haven't found anything definitive on the web. What are other people using? I hacked together a quick python script which does the following, 1. Runs on the same server as the dhcp server and listens on a specified port. 2. When a client is finished installing, there is an entry in the post-install script which sends a message to the listener in 1 notifying installation finished. 3. The listener updates the DHCP record for that host to ensure that on reboot, the client won't start another installation (it also restarts the DHCP server to pick up this change). I'm happy to share this script if anyone wants it but a) its the first thing I've ever written in python so surely contains bugs and b) it doesn't fully work as a standalone daemon yet (doesn't detach from ttys and fork and so on). Thanks, -stephen -- Stephen Mulcahy, DI2, DERI, National University of Ireland, Galway, IDA Business Park, Lower Dangan, Galway, Ireland http://di2.deri.ie http://webstar.deri.ie http://sindice.com -- Ubuntu-installer mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-installer
