From 8c3385a7f73731316c70f976d45c0e962651f374 Mon Sep 17 00:00:00 2001 From: Thomas F Herbert Date: Fri, 12 Feb 2016 16:09:55 -0500 Subject: Run clean.sh scripts with sudo and set relative path so sudo can find it. Change to correct directory before running cleanup. Change-Id: I3a91cb8f25c641b81ef2c62f91b540d7657eeb53 Signed-off-by: Thomas F Herbert --- build/instack_ovs.sh | 2 +- ci/buildovs.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/instack_ovs.sh b/build/instack_ovs.sh index 5af6ccf..83b141c 100755 --- a/build/instack_ovs.sh +++ b/build/instack_ovs.sh @@ -194,7 +194,7 @@ fi 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 <