Set fixed ip address to different servers - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: Set fixed ip address to different servers (/showthread.php?tid=9607) |
Set fixed ip address to different servers - rodrigo.lima - 2017-05-06 15:07 Hi all, I`m using ipxe to deploy kickstart files on my infrastructure. But, I would like to improve it. I have dozens of servers in different datacenters, and these datacenters do not offer a dhcp service, then I need to set a fixed ip for each server. I would like to know if is possible to create only one iso image and only one menu.ipxe in this case. Currently, I need to create various menu.ipxe for each server with a fixed address. Thanks, RE: Set fixed ip address to different servers - MultimediaMan - 2017-05-09 01:15 I feel your pain. I use a generic menu script for the Menu UI, then I wrote a script to write an ${uuid)-network.ipxe script on the server from a MasterUUID.csv file. The Output is something like this (this is for booting into the installer with the intention of installing in an NFS Roots environment via Serial TUI): Code: #ipxe This could also be put into a PHP script which parses a read-only CSV file or queries a MySQL Database. The OpenSuSE_menu.ipxe puts the variables set in the above script into parameters for booting the installer... e.g.: Code: #!ipxe |