From 49de6e96b35be540bdaacb65f2a68c89a4b8ef04 Mon Sep 17 00:00:00 2001 From: Andrew Rynhard Date: Wed, 18 Dec 2019 17:03:48 +0000 Subject: [PATCH] chore: fix KVM test This adds hostname and domain name options to the DHCP response. Signed-off-by: Andrew Rynhard --- hack/test/integration/dnsmasq/talos0.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hack/test/integration/dnsmasq/talos0.conf b/hack/test/integration/dnsmasq/talos0.conf index bfd49af5e..5a862c560 100644 --- a/hack/test/integration/dnsmasq/talos0.conf +++ b/hack/test/integration/dnsmasq/talos0.conf @@ -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