sudo eror in debian lxc
This commit is contained in:
parent
9863502e65
commit
2e9aa48b0d
10
script.sh
10
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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user