Merge pull request #103 from Simon-CR/patch-2

Update k3s.sh - apt-get
This commit is contained in:
tehNooB 2024-08-23 01:02:27 +01:00 committed by GitHub
commit b50e7a212e
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 # Install policycoreutils for each node
for newnode in "${all[@]}"; do for newnode in "${all[@]}"; do
ssh $user@$newnode -i ~/.ssh/$certName sudo su <<EOF 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 exit
EOF EOF
echo -e " \033[32;5mPolicyCoreUtils installed!\033[0m" echo -e " \033[32;5mPolicyCoreUtils installed!\033[0m"