chore: fix KVM test

This adds hostname and domain name options to the DHCP response.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
Andrew Rynhard 2019-12-18 17:03:48 +00:00
parent f3dff87957
commit 49de6e96b3

View File

@ -1,12 +1,13 @@
# dnsmasq.conf
no-daemon
domain=talos.dev
dhcp-range=172.28.1.50,172.28.1.99
dhcp-option=3,172.28.0.1
dhcp-host=52:54:00:a1:9c:ae,172.28.1.10,1h
dhcp-host=52:54:00:b2:2f:86,172.28.1.11,1h
dhcp-host=52:54:00:c3:61:77,172.28.1.12,1h
dhcp-host=52:54:00:d7:99:c7,172.28.1.13,1h
dhcp-host=52:54:00:a1:9c:ae,172.28.1.10,control-plane-1,1h
dhcp-host=52:54:00:b2:2f:86,172.28.1.11,control-plane-2,1h
dhcp-host=52:54:00:c3:61:77,172.28.1.12,control-plane-3,1h
dhcp-host=52:54:00:d7:99:c7,172.28.1.13,worker-1,1h
enable-tftp
tftp-root=/var/lib/tftpboot