Merge pull request #4262 from danielparks/master

guests/debian: Fix #3860 by making sure post-up command never returns an error code
This commit is contained in:
Mitchell Hashimoto 2014-08-05 17:23:31 -07:00
commit ae8ace03fa
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
auto eth<%= options[:interface] %>
iface eth<%= options[:interface] %> inet dhcp
<% if !options[:use_dhcp_assigned_default_route] %>
post-up route del default dev $IFACE
post-up route del default dev $IFACE || true
<% else %>
# We need to disable eth0, see GH-2648
post-up route del default dev eth0