Merge pull request #6305 from justinlynn/feature/mitchellh-vagrant-6256-add-use_dhcp_assigned_default_route-to-html-documentation

Add use_dhcp_assigned_default_route to website documentation
This commit is contained in:
Mitchell Hashimoto 2015-11-18 13:48:37 -08:00
commit 8ad2c91ad3
1 changed files with 12 additions and 0 deletions

View File

@ -51,6 +51,18 @@ When DHCP is used, the IP can be determined by using `vagrant ssh` to
SSH into the machine and using the appropriate command line tool to find
the IP, such as `ifconfig`.
### Using the DHCP Assigned Default Route
Some cases require the DHCP assigned default route to be untouched. In these cases one
may specify the `use_dhcp_assigned_default_route` option. As an example:
```ruby
Vagrant.configure("2") do |config|
config.vm.network "public_network",
use_dhcp_assigned_default_route: true
end
```
## Static IP
Depending on your setup, you may wish to manually set the IP of your