File tree Expand file tree Collapse file tree
contrib/vagrant/chef-server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,12 +11,9 @@ Vagrant.configure("2") do |config|
1111 # canonical address. Another way of changing the API's hostname is through
1212 # chef-server.rb - http://docs.opscode.com/config_rb_chef_server.html
1313 config . vm . host_name = "chefserver.local"
14-
15- # Create a public network, which generally matched to bridged network.
16- # Bridged networks make the machine appear as another physical device on
17- # your network. IP will be fetched via DCHP and associated to 'chefserver.local'
18- # using avahi-daemon
19- config . vm . network :public_network
14+
15+ # IP will be associated to 'chefserver.local' using avahi-daemon
16+ config . vm . network :private_network , ip : "192.168.61.99"
2017
2118 # Chef Server requires at least 1G of RAM to install.
2219 # You may be able to run it with less once it's installed.
You can’t perform that action at this time.
0 commit comments