diff options
Diffstat (limited to 'src/vagrant/kubeadm_virtlet/worker_setup.sh')
-rw-r--r-- | src/vagrant/kubeadm_virtlet/worker_setup.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vagrant/kubeadm_virtlet/worker_setup.sh b/src/vagrant/kubeadm_virtlet/worker_setup.sh index b250350..4389770 100644 --- a/src/vagrant/kubeadm_virtlet/worker_setup.sh +++ b/src/vagrant/kubeadm_virtlet/worker_setup.sh @@ -1,8 +1,9 @@ #!/bin/bash set -ex -sudo timeout 3600 kubeadm join --token 8c5adc.1cec8dbf339093f0 10.96.0.10:6443 || true +sudo timeout 600 kubeadm join --token 8c5adc.1cec8dbf339093f0 192.168.1.10:6443 || true +sudo docker pull openretriever/virtlet sudo docker run --rm openretriever/virtlet tar -c /criproxy | sudo tar -C /usr/local/bin -xv sudo ln -s /usr/local/bin/criproxy /usr/local/bin/dockershim |