Add a dummy console for the host conservers in case no VMs are running sipb-xen-console-server/2.8
authorEvan Broder <broder@mit.edu>
Tue, 14 Oct 2008 07:14:14 +0000 (03:14 -0400)
committerEvan Broder <broder@mit.edu>
Tue, 14 Oct 2008 07:14:14 +0000 (03:14 -0400)
svn path=/trunk/packages/sipb-xen-console-server/; revision=1120

debian/changelog
files/etc/conserver/conserver.cf.sipb-xen

index f08d5e9..b1eb4d5 100644 (file)
@@ -1,3 +1,10 @@
+sipb-xen-console-server (2.8) unstable; urgency=low
+
+  * Create a dummy console entry that exists by default so that conserver
+    won't quit if no consoles are defined.
+
+ -- Evan Broder <broder@mit.edu>  Tue, 14 Oct 2008 03:10:28 -0400
+
 sipb-xen-console-server (2.7) unstable; urgency=low
 
   * Don't run conserver as root; use sudo instead
index 837e411..a1f6403 100644 (file)
@@ -1,6 +1,17 @@
 config * {
        sslrequired yes;
 }
+
+# If no consoles are defined, as is the case when the host first boots
+# up, conserver will quit. This keeps it running.
+#
+# Should someone create a VM called dummy-console, their VM will
+# shadow over this one.
+console dummy-console {
+        master localhost;
+        type noop;
+}
+
 default * {
        logfile /var/log/conserver/&.log;
        timestamp "1lab";