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
|
2017-03-06 22:18:26 +00:00
|
|
|
post-up route del default dev $IFACE || true
|
2012-05-24 18:53:46 +00:00
|
|
|
post-up dhclient $IFACE
|
2017-03-06 22:18:26 +00:00
|
|
|
pre-down route add default dev $IFACE
|
2012-04-05 16:21:09 +00:00
|
|
|
<% end %>
|
2012-01-03 03:40:19 +00:00
|
|
|
#VAGRANT-END
|