Commit b5cb8fb0 authored by Robert Schütz's avatar Robert Schütz
Browse files

nixos/tests/headscale: set dns.base_domain

Otherwise the test fails with

    dns.base_domain must be set when using MagicDNS
parent dfb0f00f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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")
    '';
  })