Skip to content

Instantly share code, notes, and snippets.

@bethanybenzur
Created August 17, 2012 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bethanybenzur/a6619209a66c438424d9 to your computer and use it in GitHub Desktop.
Save bethanybenzur/a6619209a66c438424d9 to your computer and use it in GitHub Desktop.
knife vsphere vm clone with knife-vsphere v2.3
Bethanys-MacBook-Air:paperless-chef bethany$ gem list knife-vsphere
*** LOCAL GEMS ***
knife-vsphere (0.2.3)
Bethanys-MacBook-Air:paperless-chef bethany$ knife vsphere vm clone -VV canvas-bb --template centos63-08072012 -r 'role[base]' -E 'testing' -x root --distro pp-el6 --folder Templates -N canvas-bb.pp --cvlan Stage
DEBUG: Using configuration from /Users/bethany/Sites/xx/.chef/knife.rb
DEBUG: value for config item bootstrap:
DEBUG: value for config item vsphere_host: xx
DEBUG: value for config item vshere_path:
DEBUG: value for config item vsphere_port: 443
DEBUG: value for config item vsphere_nossl:
DEBUG: value for config item vsphere_user: xx
DEBUG: value for config item vsphere_pass: xx
DEBUG: value for config item vsphere_insecure: true
DEBUG: value for config item vsphere_dc: xx
DEBUG: value for config item folder: Templates
DEBUG: value for config item vsphere_dc: xx
DEBUG: value for config item resource_pool:
DEBUG: value for config item vsphere_dc: xx
DEBUG: value for config item datastore:
DEBUG: value for config item customization_cpucount:
DEBUG: value for config item customization_memory:
DEBUG: value for config item customization_vlan: Stage
DEBUG: value for config item customization_vlan: Stage
DEBUG: value for config item vsphere_dc: x
DEBUG: value for config item customization_spec:
DEBUG: value for config item customization_dns_ips:
DEBUG: value for config item customization_dns_suffixes:
DEBUG: value for config item customization_domain:
DEBUG: value for config item customization_domain:
DEBUG: value for config item folder: Templates
DEBUG: value for config item vsphere_dc: xx
Cloning template centos63-08072012 to new VM canvas-bb
I, [2012-08-17T17:04:55.828766 #21135] INFO -- : Terminating 1 actors...
I, [2012-08-17T17:04:55.829332 #21135] INFO -- : Shutdown completed cleanly
/Users/bethany/.rvm/gems/ruby-1.9.2-p290/gems/rbvmomi-1.5.1/lib/rbvmomi/vim/Task.rb:11:in `wait_for_completion': NicSettingMismatch: fault.NicSettingMismatch.summary (RbVmomi::Fault)
from /Users/bethany/.rvm/gems/ruby-1.9.2-p290/gems/knife-vsphere-0.2.3/lib/chef/knife/vsphere_vm_clone.rb:196:in `run'
from /Users/bethany/.rvm/gems/ruby-1.9.2-p290/gems/chef-0.10.10/lib/chef/knife.rb:402:in `run_with_pretty_exceptions'
from /Users/bethany/.rvm/gems/ruby-1.9.2-p290/gems/chef-0.10.10/lib/chef/knife.rb:168:in `run'
from /Users/bethany/.rvm/gems/ruby-1.9.2-p290/gems/chef-0.10.10/lib/chef/application/knife.rb:123:in `run'
from /Users/bethany/.rvm/gems/ruby-1.9.2-p290/gems/chef-0.10.10/bin/knife:25:in `<top (required)>'
from /Users/bethany/.rvm/gems/ruby-1.9.2-p290/bin/knife:19:in `load'
from /Users/bethany/.rvm/gems/ruby-1.9.2-p290/bin/knife:19:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment