First, some background on Razor:
- http://nickapedia.com/2012/05/21/lex-parsimoniae-cloud-provisioning-with-a-razor/
- http://purevirtual.eu/2012/07/02/how-to-get-started-with-razor-and-puppet-part-1/
- http://www.virtuallyghetto.com/2012/05/how-to-deploy-esxi-5-using-razor-puppet.html
Take the time to read those over, install it, work with it a bit in VMs or so, as this takes off with the assumption that you already have a working Razor installation.
1) Rebuilding the razor.ipxe file:
razor config ipxe > /var/lib/tftpboot/razor.ipxe
2) Alternative DNSMASQ for chain booting certain NIC cards (similar to this):
dhcp-userclass=set:ipxe,iPXE
dhcp-boot=tag:ipxe,razor.ipxe
dhcp-boot=tag:!ipxe,undionly.kpxe
3) A few spots to edit if you are running the Razor TFTP/PXE network on a different interface than your primary:
In /opt/razor/conf/razor_server.conf change the following lines:
image_svc_host: 10.0.1.1
mk_uri: http://10.0.1.1:8026
Then, in /var/lib/tftpboot/razor.ipxe, change the following line:
chain http://10.0.1.1:8026…