- sudo cp ./k3s /usr/local/bin/
- sudo apt-get update;
- sudo apt-get install nfs-common
- sudo mkdir -p /var/lib/rancher/k3s/agent/images/
- sudo cp ./k3s-airgap-images-amd64.tar /var/lib/rancher/k3s/agent/images/
- sudo INSTALL_K3S_SKIP_DOWNLOAD=true ./install.sh
- sudo rm -f ./node-token
- sudo cp /var/lib/rancher/k3s/server/node-token ./
- sudo chmod 777 ./node-token
- echo "agent token is: "
- cat ./node-token
|