From 7f53b6cbcf5195b38271e6bff3a4a8fcbf3e9edb Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Tue, 14 Oct 2008 03:14:14 -0400 Subject: [PATCH] Add a dummy console for the host conservers in case no VMs are running svn path=/trunk/packages/sipb-xen-console-server/; revision=1120 --- debian/changelog | 7 +++++++ files/etc/conserver/conserver.cf.sipb-xen | 11 +++++++++++ 2 files changed, 18 insertions(+) diff --git a/debian/changelog b/debian/changelog index f08d5e9..b1eb4d5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 diff --git a/files/etc/conserver/conserver.cf.sipb-xen b/files/etc/conserver/conserver.cf.sipb-xen index 837e411..a1f6403 100644 --- a/files/etc/conserver/conserver.cf.sipb-xen +++ b/files/etc/conserver/conserver.cf.sipb-xen @@ -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"; -- 1.7.9.5