2012-01-03 03:40:19 +00:00
|
|
|
#VAGRANT-BEGIN
|
|
|
|
# The contents below are automatically generated by Vagrant. Do not modify.
|
2016-06-06 15:36:59 +00:00
|
|
|
auto <%= options[:device] %>
|
|
|
|
iface <%= options[:device] %> inet dhcp
|
2012-05-06 21:47:52 +00:00
|
|
|
<% if !options[:use_dhcp_assigned_default_route] %>
|
2014-07-29 06:15:07 +00:00
|
|
|
post-up route del default dev $IFACE || true
|
2012-05-24 18:53:46 +00:00
|
|
|
<% else %>
|
2013-12-14 04:48:54 +00:00
|
|
|
# We need to disable eth0, see GH-2648
|
2015-03-30 19:47:54 +00:00
|
|
|
post-up route del default dev eth0 || true
|
2012-05-24 18:53:46 +00:00
|
|
|
post-up dhclient $IFACE
|
2013-12-14 04:48:54 +00:00
|
|
|
pre-down route add default dev eth0
|
2012-04-05 16:21:09 +00:00
|
|
|
<% end %>
|
2012-01-03 03:40:19 +00:00
|
|
|
#VAGRANT-END
|