add workaround for ubuntu precise not properly loading routes

This commit is contained in:
Justin Lynn 2012-05-24 11:53:46 -07:00
parent a20ee32c9a
commit 736ed6b590
1 changed files with 3 additions and 0 deletions

View File

@ -4,5 +4,8 @@ auto eth<%= options[:interface] %>
iface eth<%= options[:interface] %> inet dhcp
<% unless options[:use_dhcp_assigned_default_route] %>
post-up route del default dev $IFACE
<% else %>
# needed as some newer distribution do not properly load routes, ubuntu 12.04
post-up dhclient $IFACE
<% end %>
#VAGRANT-END