1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

Increased timeout for shutdowning a VM (KVM)

This commit is contained in:
Ruben S. Montero 2011-02-24 12:14:12 +01:00
parent 45abb9ce53
commit a46aff29a8

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