Add --force when enabling ufw to bypass prompt (#794)

This commit is contained in:
Dylan Bridgman
2025-08-17 17:43:46 +02:00
committed by GitHub
parent 40d850fdb3
commit a712a0906a

View File

@@ -18,7 +18,7 @@ if ! command -v ufw &>/dev/null; then
sudo ufw allow in on docker0 to any port 53 sudo ufw allow in on docker0 to any port 53
# Turn on the firewall # Turn on the firewall
sudo ufw enable sudo ufw --force enable
# Turn on Docker protections # Turn on Docker protections
sudo ufw-docker install sudo ufw-docker install