fix(networks): ipv6 != ipv4
Some checks failed
lint / check (push) Successful in 21s
build configuration / build_web02 (pull_request) Failing after 51s
build configuration / build_compute01 (pull_request) Failing after 53s
build configuration / build_vault01 (pull_request) Failing after 53s
build configuration / build_rescue01 (pull_request) Failing after 52s
build configuration / build_web01 (pull_request) Failing after 53s
build configuration / build_storage01 (pull_request) Failing after 56s

This commit is contained in:
Tom Hubrecht 2024-02-23 13:10:31 +01:00
parent 58c8d0f6d2
commit 8e629c63b9

View file

@ -240,7 +240,7 @@ in
ipv4 = builtins.filter (ip: builtins.substring 0 7 ip != "192.168") (
getAddresses "ipv4" (builtins.attrValues config.interfaces)
);
ipv6 = builtins.filter (_: true) ((getAddresses "ipv4") (builtins.attrValues config.interfaces));
ipv6 = builtins.filter (_: true) ((getAddresses "ipv6") (builtins.attrValues config.interfaces));
};
};
}