diff --git a/integration/scripts/functions_qemu b/integration/scripts/functions_qemu index cfc9b32ac1..12ff4f20db 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)}