mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
nixosTests.containers-restart_networking: ensure eth1 has no ip addresses
This commit is contained in:
parent
e65d6fba75
commit
5e4c8f1007
1 changed files with 5 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue