mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-25 09:20:22 +00:00
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:
parent
379113a824
commit
5852304957
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue