0 Replies Latest reply on Nov 2, 2012 12:23 PM by minerat

    shutdownVM hard powers down vms with old tools

    minerat Enthusiast

      The shutdownVM sub only gracefully shuts down VMs if toolsStatus is toolsOk, otherwise it issues a hard power off.


      This is less than ideal - out of date tools still respond to power commands pretty reliably.  It's likely that someone will have slightly outdated tools; this shouldn't result in hard shutdowns of those VMs.


      I've edited my script to include || $vm_view->summary->guest->toolsStatus->val eq 'toolsOld') in the condition on line 732.