Don't start getty@tty1 on headless machines (like EC2)

Backport: 14.04
This commit is contained in:
Eelco Dolstra 2014-05-05 15:54:38 +02:00
parent 014fe1a3c3
commit 4a08f37206

View file

@ -12,6 +12,8 @@ with lib;
# Don't start a tty on the serial consoles.
systemd.services."serial-getty@ttyS0".enable = false;
systemd.services."serial-getty@hvc0".enable = false;
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@".enable = false;
# Since we can't manually respond to a panic, just reboot.
boot.kernelParams = [ "panic=1" "boot.panic_on_fail" ];