lib/chef/knife/vcenter_vm_clone.rb
# determine the IP address to use to bootstrap the machine with chef
#
determine the IP address to use to bootstrap the machine with chef
determine the IP address to use to bootstrap the machine with chef
def before_bootstrap
          super
          config[:chef_node_name] = config[:chef_node_name] || server.name
          config[:bootstrap_ip_address] = hostname_for_server
        end
def before_bootstrap super config [ :chef_node_name ] = config [ :chef_node_name ] || server . name config [ :bootstrap_ip_address ] = hostname_for_server end
determine the IP address to use to bootstrap the machine with chef
determine the IP address to use to bootstrap the machine with chef