test-instrumentation.nix: Don't start agetty on hvc0

This commit is contained in:
Eelco Dolstra 2012-11-09 11:45:37 +01:00
parent 622a652411
commit 1350816199

View File

@ -33,8 +33,9 @@ let kernel = config.boot.kernelPackages.kernel; in
# Prevent agetty from being instantiated on ttyS0, since it
# interferes with the backdoor (writes to ttyS0 will randomly fail
# with EIO).
# with EIO). Likewise for hvc0.
boot.systemd.services."serial-getty@ttyS0".enable = false;
boot.systemd.services."serial-getty@hvc0".enable = false;
boot.initrd.postDeviceCommands =
''