nixos/tests/headscale: set dns.base_domain

Otherwise the test fails with

    dns.base_domain must be set when using MagicDNS
This commit is contained in:
Robert Schütz 2024-10-11 20:10:31 -07:00
parent dfb0f00fc9
commit b5cb8fb063

View File

@ -38,6 +38,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
region_id = 999; region_id = 999;
stun_listen_addr = "0.0.0.0:${toString stunPort}"; stun_listen_addr = "0.0.0.0:${toString stunPort}";
}; };
dns.base_domain = "tailnet";
}; };
}; };
nginx = { nginx = {
@ -77,6 +78,6 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
# Check that they are reachable from the tailnet # Check that they are reachable from the tailnet
peer1.wait_until_succeeds("tailscale ping peer2") peer1.wait_until_succeeds("tailscale ping peer2")
peer2.wait_until_succeeds("tailscale ping peer1") peer2.wait_until_succeeds("tailscale ping peer1.tailnet")
''; '';
}) })