diff --git a/nixos/modules/tests/private-storage.nix b/nixos/modules/tests/private-storage.nix index 7cd0100d67066148ba55f696d7d2553e046bbbd8..5dd0ddd1052a1a6c772f9ea724596068aa1e37fe 100644 --- a/nixos/modules/tests/private-storage.nix +++ b/nixos/modules/tests/private-storage.nix @@ -310,7 +310,8 @@ in { }; # The issuer metrics should be accessible from the monitoring network. - $issuer->succeed('curl --silent --insecure --fail --output /dev/null https://172.23.23.11/metrics'); + $issuer->execute('ifconfig lo:fauxvpn 172.23.23.2/24'); + $issuer->succeed('curl --silent --insecure --fail --output /dev/null https://172.23.23.2/metrics'); # The issuer metrics should NOT be accessible from any other network. $issuer->fail('curl --silent --insecure --fail --output /dev/null https://localhost/metrics');