From d3686465dbf863b5b18c9b75a9c72511d0b0bfc5 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 6 May 2012 14:47:52 -0700 Subject: [PATCH] Avoid `unless` --- templates/guests/debian/network_dhcp.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/guests/debian/network_dhcp.erb b/templates/guests/debian/network_dhcp.erb index 24cc1e944..628549e5c 100644 --- a/templates/guests/debian/network_dhcp.erb +++ b/templates/guests/debian/network_dhcp.erb @@ -2,7 +2,7 @@ # The contents below are automatically generated by Vagrant. Do not modify. auto eth<%= options[:interface] %> iface eth<%= options[:interface] %> inet dhcp -<% unless options[:use_dhcp_assigned_default_route] %> +<% if !options[:use_dhcp_assigned_default_route] %> post-up route del default dev $IFACE <% end %> #VAGRANT-END