In headless deployments, don't start agetty on the console

This commit is contained in:
Eelco Dolstra 2012-10-30 13:52:12 +01:00
parent 88a9d7a9ca
commit 4143ff2280

View file

@ -10,7 +10,10 @@ with pkgs.lib;
boot.vesa = false;
boot.initrd.enableSplashScreen = false;
services.ttyBackgrounds.enable = false;
services.mingetty.ttys = [ ];
# Don't start a tty on the serial consoles.
boot.systemd.services."serial-getty@ttyS0".enable = false;
boot.systemd.services."serial-getty@hvc0".enable = false;
# Since we can't manually respond to a panic, just reboot.
boot.kernelParams = [ "panic=1" "stage1panic=1" ];