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