Add a dummy console for the host conservers in case no VMs are running
[invirt/packages/invirt-console.git] / files / etc / conserver / conserver.cf.sipb-xen
index 3177bb7..a1f6403 100644 (file)
@@ -1,24 +1,25 @@
 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";
        rw *;
        type exec;
-       exec xm console d_f;
+       exec sudo xm console d_f;
        execsubst f=cs;
 }
 
-access * {
-       trusted 127.0.0.1;
-       trusted 18.181.0.134;
-       limited *;
-}
-
-console s_sipb-xen-dev {
-       type exec;
-       exec xm console s_sipb-xen-dev;
-}
-
+#include /etc/conserver/invirt-genconfig.cf
 #include /etc/conserver/sipb-xen-consoles.cf