Skip to content

Commit 12dbdbd

Browse files
author
Gabriel Monroy
committed
move chef server to private network along w/ other vagrant components
1 parent 575c707 commit 12dbdbd

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

contrib/vagrant/chef-server/Vagrantfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)