so sudo can find it.
Change to correct directory before running cleanup.
Change-Id: I3a91cb8f25c641b81ef2c62f91b540d7657eeb53
Signed-off-by: Thomas F Herbert <therbert@redhat.com>
sudo rm -f /tmp/instack.answers
# ensure that no previous undercloud VMs are running
-clean.sh
+sudo ../ci/clean.sh
# and rebuild the bare undercloud VMs
ssh -T ${SSH_OPTIONS[@]} stack@localhost <<EOI
set -e
echo "---------------------------------------"
echo "Cleanup temporary dirs"
echo
-cd $BUILDDIR
+cd $BUILD_BASE
if [ -d $TMPDIR ]
then
# Destroy VM if one has been deployed. Also remove any local installation of
# DPDK and OVS
#
-clean.sh
+sudo ../ci/clean.sh
exit 0