diff options
author | Timothy DeHerrera <tim.deh@pm.me> | 2021-09-28 21:35:23 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 21:35:23 -0600 |
commit | 895f3956d266e2e90b66d03ea97ebc082bffd12c (patch) | |
tree | b25ecd3db061bada8aba317bc8ef7ac370da7587 /nixos/tests | |
parent | 8a587c79f6c970059b98a9e30e10bb33674b6340 (diff) | |
parent | bd3cb03c6f7993050fe21b787e6f6a8595204be2 (diff) |
Merge pull request #127933 from rnhmjoj/qemu-restoration
Qemu restoration
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/networking.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/networking.nix b/nixos/tests/networking.nix index 22f7ca5a9b825..8b947ddf0cf45 100644 --- a/nixos/tests/networking.nix +++ b/nixos/tests/networking.nix @@ -8,7 +8,7 @@ with import ../lib/testing-python.nix { inherit system pkgs; }; with pkgs.lib; let - qemu-flags = import ../lib/qemu-flags.nix { inherit pkgs; }; + qemu-common = import ../lib/qemu-common.nix { inherit (pkgs) lib pkgs; }; router = { config, pkgs, lib, ... }: with pkgs.lib; @@ -42,7 +42,7 @@ let machines = flip map vlanIfs (vlan: { hostName = "client${toString vlan}"; - ethernetAddress = qemu-flags.qemuNicMac vlan 1; + ethernetAddress = qemu-common.qemuNicMac vlan 1; ipAddress = "192.168.${toString vlan}.2"; } ); |