Use sudo when deleting image cache dir
Change-Id: I8a9fd906d6b70dfad1c38e751cadc004a5aeb13f
This commit is contained in:
parent
a10d38df71
commit
ec8a10e36b
@ -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)}
|
||||
|
Loading…
Reference in New Issue
Block a user