「🔨」 fix: compliant with the subject

This commit is contained in:
KeyZox committed 2025-08-27 22:23:47 +02:00
1 parent 4f1b5a122f
commit b569c1ab61
8 files changed
+6 -5

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
sudo apt update
sudo apt install curl -y
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env sh
echo "Launching k3s install"
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--write-kubeconfig-mode 644" sh -s - server --cluster-init --node-ip=192.168.56.110
echo "Copying token"
sudo cat /var/lib/rancher/k3s/server/node-token > /vagrant/node-token
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env sh
while [ ! -f /vagrant/node-token ];
do sleep 1;
done
TOKEN=$(cat /vagrant/node-token)
curl -sfL https://get.k3s.io | K3S_URL=https://192.168.56.110:6443 K3S_TOKEN=$TOKEN sh -s - --node-ip=192.168.56.111