From 2e9aa48b0dc36bbdee10310fde0822ef7860f52d Mon Sep 17 00:00:00 2001 From: godot Date: Fri, 19 Jul 2024 23:24:43 +0200 Subject: [PATCH] sudo eror in debian lxc --- script.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/script.sh b/script.sh index 9a649e0..087b461 100755 --- a/script.sh +++ b/script.sh @@ -107,17 +107,17 @@ sleep 2 printf "\n+ Starting to upgrade base system\n\n" -sudo apt update -sudo apt upgrade -y + apt update + apt upgrade -y ### Installing depandencies ### printf "\n+ Installing depandencies \n\n" -sudo apt install openjdk-17-jre-headless screen p7zip-full -y + apt install openjdk-17-jre-headless screen p7zip-full -y if [[ "$ansFirewallSetup" =~ ("Y"|"y") || -z $ansFirewallSetup ]]; then - sudo apt install iptables -y + apt install iptables -y fi @@ -192,7 +192,7 @@ if [[ "$ansFirewallSetup" =~ ("Y"|"y") || -z "$ansFirewallSetup" ]]; then iptables -P OUTPUT ACCEPT #Allow all outgouing - sudo apt install iptables-persistent -y + apt install iptables-persistent -y else