class Chef::Knife::VcVmBootstrap
Public Instance Methods
run()
click to toggle source
# File lib/chef/knife/vm/vc_vm_bootstrap.rb, line 28 def run $stdout.sync = true @test_connection_timeout = 5 vm_arg = @name_args.shift connection.login vm = get_vm(vm_arg) if locate_config_value(:bootstrap_windows) ui.msg "Windows bootstrapping is not available, yet." else bootstrap_vm(vm[:vm_name], vm[:id], vm[:networks].collect{|k, v| v[:ip]}) end connection.logout end