summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm_virtlet/deploy.sh
blob: 758abb5db9c7c4fe771dd1f5437572adb8a94727 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

set -ex
DIR="$(dirname `readlink -f $0`)"

cd $DIR
vagrant destroy -f
vagrant up
vagrant ssh master -c "/vagrant/examples/virtlet.sh" || (vagrant destroy -f; exit 1)
vagrant destroy -f