sabato 9 marzo 2013

Pxe with Dnsmasq

Just a couple of words..

For a much too long period of my life I have always manually changed the "pxelinux" entry in the "dnsmasq.d/domain.conf" file, to achieve the boot with this and with that image depending to the needed install distro

# PXE boot
dhcp-boot = net:domain, pangolin-amd64/pxelinux.0, lurch, 192.168.1.100
view raw gistfile1.txt hosted with ❤ by GitHub
I just have finally found a way to serve each pxe images in one shot and even with a confortable menu list

That is accomplished adding something like:
# Multi PXE boot
pxe-prompt="Welcome to Lurch's TFTP"
pxe-service=x86PC, "Pangolin-amd64 on Lurch TFTP", "pangolin-amd64/pxelinux", 192.168.1.100
pxe-service=x86PC, "Pangolin-i386 on Lurch TFTP", "pangolin-i386/pxelinux", 192.168.1.100
pxe-service=x86PC, "Debian-amd64 on Lurch TFTP", "debian-amd64/pxelinux", 192.168.1.100
pxe-service=x86PC, "Fedora17-amd64 on Lurch TFTP", "fedora-x86_64/pxelinux", 192.168.1.100
view raw gistfile1.txt hosted with ❤ by GitHub
Needless to say that you could even make point each pxe entry to a different tftp servers

Nessun commento:

Posta un commento