From 545431003b6f94ee5446486fcfe26795248d29db Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 16 Jun 2011 14:15:37 +0000 Subject: [PATCH] * Create some virtual consoles in Nova VMs because it provides VNC access. svn path=/nixos/trunk/; revision=27483 --- modules/virtualisation/nova-image.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/virtualisation/nova-image.nix b/modules/virtualisation/nova-image.nix index f61801e4c64b..2a904cdd88cb 100644 --- a/modules/virtualisation/nova-image.nix +++ b/modules/virtualisation/nova-image.nix @@ -104,8 +104,9 @@ with pkgs.lib; ''; */ - # There are no virtual consoles. - services.mingetty.ttys = [ ]; + # Since Nova allows VNC access to instances, it's nice to start to + # start a few virtual consoles. + services.mingetty.ttys = [ "tty1" "tty2" ]; # Allow root logins only using the SSH key that the user specified # at instance creation time.