From f3215f0ae62376bb9168d8868b9d5a1a7d6ad781 Mon Sep 17 00:00:00 2001 From: J Lynn Date: Wed, 23 Sep 2015 13:29:11 +1000 Subject: [PATCH 1/2] copied documentation from docs to website for use_dhcp_assigned_default_route in order to complete documentation --- .../docs/source/v2/networking/public_network.html.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/website/docs/source/v2/networking/public_network.html.md b/website/docs/source/v2/networking/public_network.html.md index e52cbaf58..913f6164e 100644 --- a/website/docs/source/v2/networking/public_network.html.md +++ b/website/docs/source/v2/networking/public_network.html.md @@ -51,6 +51,17 @@ 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 +my 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 From f22bfcb8def85d5f4ba4634f6b7d1a81dc082aa2 Mon Sep 17 00:00:00 2001 From: J Lynn Date: Wed, 23 Sep 2015 13:58:01 +1000 Subject: [PATCH 2/2] resolve formatting issues --- website/docs/source/v2/networking/public_network.html.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/docs/source/v2/networking/public_network.html.md b/website/docs/source/v2/networking/public_network.html.md index 913f6164e..91b2443b7 100644 --- a/website/docs/source/v2/networking/public_network.html.md +++ b/website/docs/source/v2/networking/public_network.html.md @@ -54,11 +54,12 @@ 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 -my specify the :use_dhcp_assigned_default_route option. As an example: +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 + config.vm.network "public_network", + use_dhcp_assigned_default_route: true end ```