mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Adding missing 'start' variable
This commit is contained in:
parent
087be6014d
commit
b6e15080de
1 changed files with 2 additions and 0 deletions
|
|
@ -241,6 +241,8 @@ def destroy_vm vm, pool
|
||||||
host = $vsphere[pool].find_vm_heavy(vm)[vm]
|
host = $vsphere[pool].find_vm_heavy(vm)[vm]
|
||||||
|
|
||||||
if (host)
|
if (host)
|
||||||
|
start = Time.now
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(host.runtime) and
|
(host.runtime) and
|
||||||
(host.runtime.powerState) and
|
(host.runtime.powerState) and
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue