In case some old clusters are there, it is possible
that old bootstrap vms are still up. This script
will clean all the previous contents of libvirt, ensuring
a clean install.
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I95137fd798ab8c5f87f84280c1f7426326c46c86
SITE_NAME="testing.baremetal.edge-sites.net"
MATCHBOX_ENDPOINT="http://172.22.0.1:8080"
+wget https://raw.githubusercontent.com/openshift/installer/master/scripts/maintenance/virsh-cleanup.sh
+chmod a+x ./virsh-cleanup.sh
+sudo -E bash -c "yes Y | ./virsh-cleanup.sh"
+
rm -rf $HOME/.kni/$SITE_NAME
pushd $HOME/go/src/gerrit.akraino.org/kni/installer
./knictl fetch_requirements file://${WORKSPACE}/$SITE_NAME