lib/landrush/action/install_prerequisites.rb in landrush-0.15.3 vs lib/landrush/action/install_prerequisites.rb in landrush-0.15.4
- old
+ new
@@ -8,15 +8,13 @@
install_prerequisites if enabled?
end
end
def install_prerequisites
- unless machine.guest.capability(:iptables_installed)
+ if guest_redirect_dns? && !machine.guest.capability(:iptables_installed)
info 'iptables not installed, installing it'
machine.guest.capability(:install_iptables)
end
end
end
end
end
-
-