Merge "Revise TFTP settings and note configuration"

This commit is contained in:
Jenkins 2015-09-08 21:52:44 +00:00 committed by Gerrit Code Review
commit 3eeacfa4c6
2 changed files with 5 additions and 3 deletions

View File

@ -4,9 +4,11 @@ service tftp
port = 69
socket_type = dgram
wait = yes
# Note(TheJulia): While the line below looks incorrect, tftp-hpa changes it it's
# effective user by default to the nobody user.
user = root
server = /usr/sbin/in.tftpd
server_args = --map-file /tftpboot/map-file /tftpboot
server_args = -v -v -v -v -s --map-file /tftpboot/map-file /tftpboot
disable = no
flags = IPv4
}

View File

@ -436,10 +436,10 @@ dhcp-option=3,{{dnsmasq_router}}
# filenames, the first loads gPXE, and the second tells gPXE what to
# load. The dhcp-match sets the gpxe tag for requests from gPXE.
dhcp-userclass=set:gpxe,"gPXE"
dhcp-boot=tag:gpxe,ipxe.pxe
dhcp-boot=tag:gpxe,/ipxe.pxe
dhcp-match=set:ipxe,175 # iPXE sends a 175 option.
dhcp-boot=tag:!ipxe,undionly.kpxe
dhcp-boot=tag:!ipxe,/undionly.kpxe
{% if testing %}
dhcp-boot=http://192.168.122.1:{{nginx_port}}/boot.ipxe
{% else %}