Chris Roberts
2f5e15da55
Fetch first network device and pass to template for rendering
2017-05-10 12:44:37 -07:00
Chris Roberts
d862133038
Remove hardcoded interface name from template
2017-03-06 14:18:26 -08:00
Seth Vargo
d9b8352a58
guests/debian: Use predictable naming for network configuration
2016-06-06 11:58:28 -04:00
Philipp Schrader
29040b3920
Make sure debian net post-up never returns an error code.
...
Inspired by e7dce43af3
.
I'm using this configuration in my Vagrantfile:
config.vm.network :public_network, use_dhcp_assigned_default_route: true
Every once in a while the secondary network interface would not come
up properly and cause the init scripts to wait for ~ 3 minutes before
giving up and continue with booting.
2015-03-30 12:47:54 -07:00
Daniel Parks
e7dce43af3
Fix mitchellh/vagrant#3860 by making sure post-up command never returns an error code. Deleting the default route won't magically start working after waiting N seconds.
2014-07-28 23:15:07 -07:00
Mitchell Hashimoto
4bf1808fde
guests/debian: fix dhcp assigned default to work
2013-12-13 20:48:54 -08:00
Mitchell Hashimoto
268b13b799
Merge pull request #947 from justinlynn/add_dhcp_default_route_option
...
add workaround for ubuntu precise not properly loading routes from dhcp
2012-05-25 08:42:52 -07:00
Justin Lynn
736ed6b590
add workaround for ubuntu precise not properly loading routes
2012-05-24 11:53:46 -07:00
Mitchell Hashimoto
d3686465db
Avoid `unless`
2012-05-06 14:47:52 -07:00
Justin Lynn
bf3d3b0245
add use_dhcp_assigned_default_route setting to allow for dhcp bridged interfaces which have a default route assigned by dhcp
2012-04-05 09:21:09 -07:00
Mitchell Hashimoto
33551eca47
Delete default routes for bridged networking on coming up
2012-01-03 13:22:33 -08:00
Mitchell Hashimoto
97f7fa633d
Re-implement how networking is done internally
2012-01-02 19:51:38 -08:00