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:
commit
ae8ace03fa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue