nixos/tests/ec2: fix conflicting option values

This commit is contained in:
rnhmjoj 2021-09-22 09:19:46 +02:00
parent e2a668224f
commit 1f826a7164
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -24,6 +24,11 @@ let
ln -s vda1 /dev/xvda1
'';
# In a NixOS test the serial console is occupied by the "backdoor"
# (see testing/test-instrumentation.nix) and is incompatible with
# the configuration in virtualisation/amazon-image.nix.
systemd.services."serial-getty@ttyS0".enable = mkForce false;
# Needed by nixos-rebuild due to the lack of network
# access. Determined by trial and error.
system.extraDependencies = with pkgs; ( [