# HG changeset patch
# User David Scott <[email protected]>
# Date 1273757461 -3600
# Node ID 712027599b2d2ecaac3ab69d0cc6bfea7bde1e56
# Parent  4bde1604fc1795fe826574335f34b5e2c3c75594
Revert c/s 848:dddf116cddb5 - VM.other_config:auto_poweron is inexplicable 
either way around, so revert back to the old behaviour until we come up with a 
new plan (probably involving merging this with HA VM restart)

Signed-off-by: David Scott <[email protected]>

diff -r 4bde1604fc17 -r 712027599b2d scripts/xapi-autostart-vms
--- a/scripts/xapi-autostart-vms        Thu Apr 29 10:22:35 2010 +0100
+++ b/scripts/xapi-autostart-vms        Thu May 13 14:31:01 2010 +0100
@@ -15,6 +15,5 @@
 /opt/xensource/bin/xapi-wait-init-complete ${XAPI_START_TIMEOUT_SECONDS}
 if [ $? -eq 0 ]; then
     # if xapi init completed then start vms (best effort, don't report errors)
-       . /etc/xensource-inventory
-    xe vm-start other-config:auto_poweron=true affinity=${INSTALLATION_UUID} 
power-state=halted --multiple >/dev/null 2>/dev/null || true
+    xe vm-start other-config:auto_poweron=true power-state=halted --multiple 
>/dev/null 2>/dev/null || true
 fi
1 file changed, 1 insertion(+), 2 deletions(-)
scripts/xapi-autostart-vms |    3 +--


# HG changeset patch
# User David Scott <[email protected]>
# Date 1273757461 -3600
# Node ID 712027599b2d2ecaac3ab69d0cc6bfea7bde1e56
# Parent  4bde1604fc1795fe826574335f34b5e2c3c75594
Revert c/s 848:dddf116cddb5 - VM.other_config:auto_poweron is inexplicable either way around, so revert back to the old behaviour until we come up with a new plan (probably involving merging this with HA VM restart)

Signed-off-by: David Scott <[email protected]>

diff -r 4bde1604fc17 -r 712027599b2d scripts/xapi-autostart-vms
--- a/scripts/xapi-autostart-vms	Thu Apr 29 10:22:35 2010 +0100
+++ b/scripts/xapi-autostart-vms	Thu May 13 14:31:01 2010 +0100
@@ -15,6 +15,5 @@
 /opt/xensource/bin/xapi-wait-init-complete ${XAPI_START_TIMEOUT_SECONDS}
 if [ $? -eq 0 ]; then
     # if xapi init completed then start vms (best effort, don't report errors)
-	. /etc/xensource-inventory
-    xe vm-start other-config:auto_poweron=true affinity=${INSTALLATION_UUID} power-state=halted --multiple >/dev/null 2>/dev/null || true
+    xe vm-start other-config:auto_poweron=true power-state=halted --multiple >/dev/null 2>/dev/null || true
 fi
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to