Skip to content

Commit

Permalink
Merge pull request #128 from fabriciocolombo/readme-ipaddress
Browse files Browse the repository at this point in the history
Improved readme about how to configure a static IP address
  • Loading branch information
michaeljb committed Jul 9, 2015
2 parents 97fa7a4 + 8c569b6 commit 157d77e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,10 @@ config.vm.network 'private_network', ip: '192.168.50.4'
```

The IP address will only be set if a customization spec name is given. The
customization spec must have network adapter settings configured. For each
private network specified, there needs to be a corresponding network adapter in
customization spec must have network adapter settings configured with a static
IP address(just an unused address NOT the address you want the VM to be). The
config.vm.network line will overwrite the ip in the customization spec with the one you set.
For each private network specified, there needs to be a corresponding network adapter in
the customization spec. An error will be thrown if there are more networks than
adapters.

Expand Down

0 comments on commit 157d77e

Please sign in to comment.