fix: wait token created befort start k3s
This commit is contained in:
@ -9,6 +9,7 @@ sudo chown -R vagrant:vagrant /home/vagrant/.kube/config
|
||||
|
||||
# Get the token for the worker nodes
|
||||
TOKEN=$(sudo cat /var/lib/rancher/k3s/server/node-token)
|
||||
echo "token: $TOKEN"
|
||||
|
||||
# Store the token for the workers to use
|
||||
echo $TOKEN > /vagrant/token
|
||||
|
Reference in New Issue
Block a user