diff --git a/modules/testing/test-instrumentation.nix b/modules/testing/test-instrumentation.nix index 8ceffbcb9ec..0ee3ad65a3d 100644 --- a/modules/testing/test-instrumentation.nix +++ b/modules/testing/test-instrumentation.nix @@ -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 = ''