mirror of
https://github.com/jbowdre/vRealize.git
synced 2024-12-22 04:52:18 +00:00
update script
This commit is contained in:
parent
3f4d0f60ca
commit
8ebacd39c5
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ var vm = VcPlugin.getAllVirtualMachines(null, vmName)[0];
|
|||
var originalState = vm.state;
|
||||
if (originalState === "poweredOn") {
|
||||
System.log("VM is running running. Stopping VM...")
|
||||
// Create sleep() function
|
||||
function sleep(milliseconds) {
|
||||
var timeStart = new Date().getTime();
|
||||
while (true) {
|
||||
|
|
Loading…
Reference in a new issue