Skip to content

Commit

Permalink
nixosTests.containers-restart_networking: ensure eth1 has no ip addre…
Browse files Browse the repository at this point in the history
…sses

(cherry picked from commit 5e4c8f1)
  • Loading branch information
felbinger authored and github-actions[bot] committed Dec 23, 2024
1 parent 7e1a2f3 commit 9bec4f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nixos/tests/containers-restart_networking.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ import ./make-test-python.nix (
}
];

networking.interfaces.eth1 = {
ipv4.addresses = lib.mkForce [ ];
ipv6.addresses = lib.mkForce [ ];
};

specialisation.eth1.configuration = {
networking.bridges.br0.interfaces = [ "eth1" ];
networking.interfaces = {
Expand Down

0 comments on commit 9bec4f1

Please sign in to comment.