[Image] Use sudo when removing image cache dir
Change-Id: I8f73056e807c4b1bbfe4ee0bf32f2db22a376ed3
This commit is contained in:
parent
f31ac7463a
commit
d808241a1f
|
@ -5,7 +5,7 @@
|
|||
|
||||
function build_vm() {
|
||||
exclaim "Actually building the image, this can take up to 15 minutes"
|
||||
rm -rf ~/.cache/image-create
|
||||
sudo rm -rf ~/.cache/image-create
|
||||
|
||||
local datastore_type=$1
|
||||
local guest_os=$2
|
||||
|
|
Loading…
Reference in New Issue