Increased timeout for shutdowning a VM (KVM)

This commit is contained in:
Ruben S. Montero committed 2011-02-24 12:14:12 +01:00
1 parent 45abb9ce53
commit a46aff29a8
1 file changed
+7 -4
+7 -4
View File
@@ -1,6 +1,5 @@
#!/bin/bash
# -------------------------------------------------------------------------- #
# Copyright 2002-2010, OpenNebula Project Leads (OpenNebula.org) #
# #
@@ -19,10 +18,14 @@
source $(dirname $0)/kvmrc
deploy_id=$1
#------------------------------------------------------------------------------
# Wait the VM to shutdown TIMEOUT (xPOLL_INTERVAL) seconds.
# Set to ~10min
#------------------------------------------------------------------------------
POLL_INTERVAL=2
TIMEOUT=20
TIMEOUT=300
deploy_id=$1
virsh --connect $LIBVIRT_URI shutdown $deploy_id