test-instrumentation.nix: Don't start agetty on hvc0
This commit is contained in:
parent
622a652411
commit
1350816199
@ -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 =
|
||||
''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user