Files
inception-of-things/p1/setup-SW.sh

9 lines
227 B
Bash

#!/usr/bin/env sh
while [ ! -f /vagrant/node-token ];
do sleep 2;
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