diff --git a/src/steps-last/15-ufw.sh b/src/steps-last/15-ufw.sh index 40db35f..d6b6e02 100755 --- a/src/steps-last/15-ufw.sh +++ b/src/steps-last/15-ufw.sh @@ -15,6 +15,6 @@ task_end "$?" "Error: Failed to configure firewall"; #shellcheck disable=SC1117 if ask_yesno "Enable UFW? Current firewall rules are listed below.\n$(ufw show added)"; then task_begin "Enabling UFW"; - execute ufw enable; + echo 'y' | ufw enable; task_end "$?" "Error: Failed to enable UFW" fi