lib/chef/knife/vcenter_vm_clone.rb
# Creates the @create_options to hand off to the next step
#
Creates the @create_options to hand off to the next step
Creates the @create_options to hand off to the next step
def before_exec_command
          super
          @create_options = {
            name: @name_args[0],
            type: "clone",
            template: config[:template],
            targethost: config[:targethost],
            datacenter: config[:datacenter],
            poweron: !config[:disable_power_on],
            folder: config[:folder],
            resource_pool: config[:pool],
          }
        end
def before_exec_command super @create_options = { name : @name_args [ 0 ] , type : "clone" , template : config [ :template ] , targethost : config [ :targethost ] , datacenter : config [ :datacenter ] , poweron : ! config [ :disable_power_on ] , folder : config [ :folder ] , resource_pool : config [ :pool ] , } end
Creates the @create_options to hand off to the next step
Creates the @create_options to hand off to the next step