From bd1e56660e5caf65a3ef9a47914113d926f78abb Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Wed, 2 Apr 2008 04:36:45 -0400 Subject: [PATCH] Create and destroy conserver consoles through a Python script, instead of a shell script. Also run this script every 5 minutes or so svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=397 --- debian/changelog | 6 ++++++ files/usr/sbin/sipb-xen-vmcontrol | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index a5f7e14..1394f74 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sipb-xen-remctl-auto (1.0.9) unstable; urgency=low + + * Change the way that conserver is updated + + -- Evan Broder Wed, 2 Apr 2008 04:36:04 -0400 + sipb-xen-remctl-auto (1.0.8) unstable; urgency=low * Add support for updating conserver when VMs are turned on and off diff --git a/files/usr/sbin/sipb-xen-vmcontrol b/files/usr/sbin/sipb-xen-vmcontrol index 4d055bb..1183134 100755 --- a/files/usr/sbin/sipb-xen-vmcontrol +++ b/files/usr/sbin/sipb-xen-vmcontrol @@ -19,7 +19,6 @@ case "$ACTION" in ;; destroy|shutdown) xm "$ACTION" "$MACHINE" - rm "/etc/conserver/conf.d/$MACHINE" /usr/sbin/sipb-xen-update-conserver ;; install|create|reboot) @@ -39,7 +38,6 @@ case "$ACTION" in else xm create sipb-database machine_name="$ORIGMACHINE" fi - echo "console $ORIGMACHINE {}" >"/etc/conserver/conf.d/$MACHINE" /usr/sbin/sipb-xen-update-conserver ;; list-long) -- 1.7.9.5