Update k3s.sh - apt-get

Switched apt to apt-get to get rid of the warning message that using apt should be avoided in scripts.
This commit is contained in:
SimonC 2024-08-22 10:52:12 -04:00 committed by GitHub
parent 379113a824
commit 5852304957
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,7 @@ done
# Install policycoreutils for each node
for newnode in "${all[@]}"; do
ssh $user@$newnode -i ~/.ssh/$certName sudo su <<EOF
NEEDRESTART_MODE=a apt install policycoreutils -y
NEEDRESTART_MODE=a apt-get install policycoreutils -y
exit
EOF
echo -e " \033[32;5mPolicyCoreUtils installed!\033[0m"