mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 22:16:58 +02:00
fix(image_to_vm): Cleanup must run as root.
Failures mid-build leave root-owned files behind.
This commit is contained in:
parent
fac9052dd0
commit
c8d986d408
@ -698,7 +698,7 @@ EOF
|
||||
|
||||
vm_cleanup() {
|
||||
info "Cleaning up temporary files"
|
||||
rm -rf "${VM_TMP_DIR}"
|
||||
sudo rm -rf "${VM_TMP_DIR}"
|
||||
}
|
||||
|
||||
print_readme() {
|
||||
|
Loading…
Reference in New Issue
Block a user