mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-09 14:03:20 +09:00
bug #4236: Deal with poweroff vms
This commit is contained in:
1 parent
57976f61c2
commit
dfd3cc8f67
1 file changed
+1
-1
@@ -124,7 +124,7 @@ exit -1 if OpenNebula.is_error?(rc)
|
||||
|
||||
|
||||
state = "STATE=3"
|
||||
state += " or STATE=5" if force == "y"
|
||||
state += " or STATE=5 or STATE=8" if force == "y"
|
||||
|
||||
vm_ids_array = vms.retrieve_elements("/VM_POOL/VM[#{state}]/HISTORY_RECORDS/HISTORY[HOSTNAME=\"#{host_name}\" and last()]/../../ID")
|
||||
|
||||
|
||||
Reference in new issue
Block a user