methods/vf_common.rb
# Check VMware Fusion VM is running
Check VMware Fusion VM is running
Check VMware Fusion VM is running
def check_fusion_vm_is_running(options)
  list_vms = get_running_fusion_vms(options)
  if list_vms.to_s.match(/#{options['name']}.vmx/)
    running = "yes"
  else
    running = "no"
  end
  return running
end
def check_fusion_vm_is_running ( options ) list_vms = get_running_fusion_vms ( options ) if list_vms . to_s . match ( / #{ options [ 'name' ] } .vmx / ) running = "yes" else running = "no" end return running end
Check VMware Fusion VM is running
Check VMware Fusion VM is running
options
<not_specific>