Open skycontainers opened 8 years ago
See https://github.com/chef/chef-provisioning#pointing-boxes-at-chef-servers for bootstrapping against a real chef server.
You would add a with_chef_server
to your recipe:
with_chef_server "https://chef-server.example.org",
:client_name => 'Chef user or client',
:signing_key_filename => '/path/to/pemfile.pem'
Hi, used the chef-provisoining-vspshere plugin to create a VM on vcenter with the recipe using chef zero from a mac workstation.. however the created Vm (node) is trying to connect to http://localhost:8889 during bootstrap instead of my my chef server.. how do i make the new created VM (node) bootstrap and connect to my chef server
with_machine_options :bootstrap_options => {
use_linked_clone: true,
num_cpus: 1, memory_mb: 2048, network_name: ["VM Network"], datacenter: 'east-dc', resource_pool: 'my-cluster', template_name: 'c7-template-v1', :ssh => { :user => 'xx', :password => 'xx', :paranoid => false } }, :sudo => true }