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
  • Loading branch information
felbinger committed Dec 22, 2024
1 parent e65d6fb commit 5e4c8f1
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 5e4c8f1

Please sign in to comment.