summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm_multus/deploy.sh
blob: a0e784301ffcbd92145fcdb74d64b74f1dcd60a8 (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/multus.sh" || (vagrant destroy -f; exit 1)
vagrant destroy -f