class Chef::Knife::VcVmStart
Public Instance Methods
run()
click to toggle source
# File lib/chef/knife/vm/vc_vm_start.rb, line 27 def run $stdout.sync = true vm_arg = @name_args.shift connection.login vm = get_vm(vm_arg) task_id = connection.poweron_vm vm[:id] ui.msg "VM start..." wait_task(connection, task_id) connection.logout end