From: Evan Broder Date: Wed, 2 Apr 2008 08:36:45 +0000 (-0400) Subject: Create and destroy conserver consoles through a Python script, X-Git-Tag: sipb-xen-remctl-auto/1.0.9^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/commitdiff_plain/bd1e56660e5caf65a3ef9a47914113d926f78abb?ds=sidebyside 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 --- 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)