Skip to content

Instantly share code, notes, and snippets.

@sevki
Last active February 26, 2016 07:05
Show Gist options
  • Select an option

  • Save sevki/7019b555eb85b720de99 to your computer and use it in GitHub Desktop.

Select an option

Save sevki/7019b555eb85b720de99 to your computer and use it in GitHub Desktop.
label harvey.32bit
kernel mboot.c32
append harvey.32bit service=cpu nobootprompt=tcp fs=192.168.1.46 auth=192.168.1.46 nvram=/boot/nvram nvrlen=512 nvroff=0
default harvey.32bit
# Listen on this specific port instead of the standard DNS port
# (53). Setting this to zero completely disables DNS function,
# leaving only DHCP and/or TFTP.
#port=5353
port=0
# Uncomment this to enable the integrated DHCP server, you need
# to supply the range of addresses available for lease and optionally
# a lease time. If you have more than one network, you will need to
# repeat this for each network on which you want to supply DHCP
# service.
#dhcp-range=192.168.0.50,192.168.0.150,12h
dhcp-range=192.168.1.101,192.168.1.150,12h
# The same as above, but use custom tftp-server instead machine running dnsmasq
#dhcp-boot=pxelinux,server.name,192.168.1.100
dhcp-boot=pxelinux.0,mordor,192.168.1.46
# Enable dnsmasq's built-in TFTP server
enable-tftp
# Set the root directory for files available via FTP.
#tftp-root=/var/ftpd
tftp-root=/media/backup1/source/plan9/harvey/cfg/pxe/tftpboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment