summaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-09-04 07:14:16 +0000
committerGerrit Code Review <review@openstack.org>2020-09-04 07:14:16 +0000
commit768ec34dfef660f133f87218a6246a9ce111bcb5 (patch)
treef35237330099bc446ea04ea5bf9b37fd72f06058 /integration
parent488d8a71e2e77457a08bab4c2870f2d110cc8b65 (diff)
parentec8a10e36b7a9cf725e69d75da85ba85f7818817 (diff)
downloadtrove-768ec34dfef660f133f87218a6246a9ce111bcb5.tar.gz
Merge "Use sudo when deleting image cache dir"
Diffstat (limited to 'integration')
-rw-r--r--integration/scripts/functions_qemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/integration/scripts/functions_qemu b/integration/scripts/functions_qemu
index cfc9b32a..12ff4f20 100644
--- a/integration/scripts/functions_qemu
+++ b/integration/scripts/functions_qemu
@@ -19,7 +19,7 @@ function build_guest_image() {
local trove_elements_path=${PATH_TROVE}/integration/scripts/files/elements
local GUEST_IMAGESIZE=${GUEST_IMAGESIZE:-3}
local GUEST_CACHEDIR=${GUEST_CACHEDIR:-"$HOME/.cache/image-create"}
- rm -rf ${GUEST_CACHEDIR}
+ sudo rm -rf ${GUEST_CACHEDIR}
export GUEST_USERNAME=${guest_username}
export HOST_SCP_USERNAME=${HOST_SCP_USERNAME:-$(whoami)}