Author: eelco
Date: Thu Jun 16 14:15:37 2011
New Revision: 27483
URL: https://svn.nixos.org/websvn/nix/?rev=27483&sc=1

Log:
* Create some virtual consoles in Nova VMs because it provides VNC
  access.

Modified:
   nixos/trunk/modules/virtualisation/nova-image.nix

Modified: nixos/trunk/modules/virtualisation/nova-image.nix
==============================================================================
--- nixos/trunk/modules/virtualisation/nova-image.nix   Thu Jun 16 14:14:50 
2011        (r27482)
+++ nixos/trunk/modules/virtualisation/nova-image.nix   Thu Jun 16 14:15:37 
2011        (r27483)
@@ -104,8 +104,9 @@
     '';
     */
 
-  # 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.
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to