diff options
author | K900 <me@0upti.me> | 2022-04-22 22:27:03 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2022-04-22 22:27:03 +0300 |
commit | adf3fe6811c62431b6cdbbac5cc7d6497927aa56 (patch) | |
tree | ea0ffcc64ce66395fda770da9c2e091cfb086732 /nixos/tests/installer.nix | |
parent | ed3cc9672ad507ca4d00e15b35f3d24edd1dff6c (diff) | |
download | nixpkgs-adf3fe6811c62431b6cdbbac5cc7d6497927aa56.tar nixpkgs-adf3fe6811c62431b6cdbbac5cc7d6497927aa56.tar.gz nixpkgs-adf3fe6811c62431b6cdbbac5cc7d6497927aa56.tar.bz2 nixpkgs-adf3fe6811c62431b6cdbbac5cc7d6497927aa56.tar.lz nixpkgs-adf3fe6811c62431b6cdbbac5cc7d6497927aa56.tar.xz nixpkgs-adf3fe6811c62431b6cdbbac5cc7d6497927aa56.tar.zst nixpkgs-adf3fe6811c62431b6cdbbac5cc7d6497927aa56.zip |
nixos/tests/installer: disable vlans for initial VM
This saves 10-15 minutes of waiting for things to time out later.
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r-- | nixos/tests/installer.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 364c69fcf09..ea2b2d04ed1 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -299,6 +299,13 @@ let virtualisation.qemu.diskInterface = if grubVersion == 1 then "scsi" else "virtio"; + # We don't want to have any networking in the guest whatsoever. + # Also, if any vlans are enabled, the guest will reboot + # (with a different configuration for legacy reasons), + # and spend 5 minutes waiting for the vlan interface to show up + # (which will never happen). + virtualisation.vlans = []; + boot.loader.systemd-boot.enable = mkIf (bootLoader == "systemd-boot") true; hardware.enableAllFirmware = mkForce false; |