Merge "Revise TFTP settings and note configuration"
This commit is contained in:
commit
3eeacfa4c6
@ -4,9 +4,11 @@ service tftp
|
|||||||
port = 69
|
port = 69
|
||||||
socket_type = dgram
|
socket_type = dgram
|
||||||
wait = yes
|
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
|
user = root
|
||||||
server = /usr/sbin/in.tftpd
|
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
|
disable = no
|
||||||
flags = IPv4
|
flags = IPv4
|
||||||
}
|
}
|
||||||
|
@ -436,10 +436,10 @@ dhcp-option=3,{{dnsmasq_router}}
|
|||||||
# filenames, the first loads gPXE, and the second tells gPXE what to
|
# filenames, the first loads gPXE, and the second tells gPXE what to
|
||||||
# load. The dhcp-match sets the gpxe tag for requests from gPXE.
|
# load. The dhcp-match sets the gpxe tag for requests from gPXE.
|
||||||
dhcp-userclass=set:gpxe,"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-match=set:ipxe,175 # iPXE sends a 175 option.
|
||||||
dhcp-boot=tag:!ipxe,undionly.kpxe
|
dhcp-boot=tag:!ipxe,/undionly.kpxe
|
||||||
{% if testing %}
|
{% if testing %}
|
||||||
dhcp-boot=http://192.168.122.1:{{nginx_port}}/boot.ipxe
|
dhcp-boot=http://192.168.122.1:{{nginx_port}}/boot.ipxe
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user