mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-25 09:20:22 +00:00
install policycoreutils
This commit is contained in:
parent
7f0670908c
commit
2c62a9a1c1
1 changed files with 9 additions and 0 deletions
|
@ -111,6 +111,15 @@ for node in "${all[@]}"; do
|
||||||
ssh-copy-id $user@$node
|
ssh-copy-id $user@$node
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Install policycoreutils for each node
|
||||||
|
for newnode in "${all[@]}"; do
|
||||||
|
ssh -tt $user@$newnode -i ~/.ssh/$certName sudo su <<EOF
|
||||||
|
NEEDRESTART_MODE=a apt install policycoreutils -y
|
||||||
|
exit
|
||||||
|
EOF
|
||||||
|
echo -e " \033[32;5mPolicyCoreUtils installed!\033[0m"
|
||||||
|
done
|
||||||
|
|
||||||
# Step 1: Bootstrap First k3s Node
|
# Step 1: Bootstrap First k3s Node
|
||||||
mkdir ~/.kube
|
mkdir ~/.kube
|
||||||
k3sup install \
|
k3sup install \
|
||||||
|
|
Loading…
Reference in a new issue