Add a dummy console for the console server's conserver in case no VMs
[invirt/packages/invirt-console.git] / files / etc / conserver / conserver.cf.sipb-xen
index a480b85..6d7130e 100644 (file)
@@ -1,6 +1,23 @@
 # default config for console
 config * {
 # default config for console
 config * {
-       master  black-mesa;
-       port    3109;
-       sslenabled yes;
+       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 * {
+        type exec;
+}
+access * {
+        trusted 127.0.0.1;
+        limited *;
+}
+
+#include /etc/conserver/invirt-hosts.cf