Skip to content

Commit

Permalink
COOK-2556 - Change IP of Vagrant VM to avoid conflicts with other coo…
Browse files Browse the repository at this point in the history
…kbook Vagrant VMs.

All Berkshelf Vagrantfiles spin up on :hostonly network IP of 33.33.33.10 by default. This change will modify the IP of the chef-server Vagrant guest, so that client Vagrant guests can run simultaneously without modification to any files.
  • Loading branch information
Charles Johnson authored and schisamo committed Apr 9, 2013
1 parent a8fb304 commit 838aa0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -207,10 +207,12 @@ for a more in depth explanation of available commands.
The running Chef-Server components are accessible from the host machine
using the following URLs:

* Web UI: https://33.33.33.10/
* Version Manifest: https://33.33.33.10/version
* Web UI: https://33.33.33.50/ (Note: Attempts to hit via straight http will be redirected to the Vagrant guest's internal hostname)
* Version Manifest: https://33.33.33.50/version
* Chef Server API (routing requires `X-OPS-USERID` HTTP header being properly
set): https://33.33.33.10/
set): https://33.33.33.50/

*Note: It can be helpful to use the host workstation's /etc/hosts file to map 33.33.33.50 to chef-server-berkshelf.*

## Contribute to and Hack on Chef Server (including Erchef)

Expand Down
2 changes: 1 addition & 1 deletion Vagrantfile
Expand Up @@ -39,7 +39,7 @@ Vagrant::Config.run do |config|
# via the IP. Host-only networks can talk to the host machine as well as
# any other machines on the same network, but cannot be accessed (through this
# network interface) by any external networks.
config.vm.network :hostonly, "33.33.33.10"
config.vm.network :hostonly, "33.33.33.50"

# Assign this VM to a bridged network, allowing you to connect directly to a
# network using the host's network device. This makes the VM appear as another
Expand Down

0 comments on commit 838aa0b

Please sign in to comment.