From b5cb8fb063065d7c6ddaacc33f28d2cf5e0049cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 11 Oct 2024 20:10:31 -0700 Subject: [PATCH] nixos/tests/headscale: set dns.base_domain Otherwise the test fails with dns.base_domain must be set when using MagicDNS --- nixos/tests/headscale.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/tests/headscale.nix b/nixos/tests/headscale.nix index 80188b65dbfc..15f7c7be2ae5 100644 --- a/nixos/tests/headscale.nix +++ b/nixos/tests/headscale.nix @@ -38,6 +38,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: region_id = 999; stun_listen_addr = "0.0.0.0:${toString stunPort}"; }; + dns.base_domain = "tailnet"; }; }; nginx = { @@ -77,6 +78,6 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: # Check that they are reachable from the tailnet peer1.wait_until_succeeds("tailscale ping peer2") - peer2.wait_until_succeeds("tailscale ping peer1") + peer2.wait_until_succeeds("tailscale ping peer1.tailnet") ''; })