sudo eror in debian lxc

This commit is contained in:
godot 2024-07-19 23:24:43 +02:00
parent 9863502e65
commit 2e9aa48b0d

View File

@ -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