Remove ISOs after provisioning

This commit is contained in:
Nicolas Jeannerod 2025-01-29 15:14:10 +01:00
parent 3f39f6ebd0
commit f547f451e1
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8

View file

@ -178,7 +178,11 @@ upload_iso () {
## Remove ISO
remove_iso () {
printf 'Removing ISO for VM %d... unsupported for now. (FIXME)\n' $1
printf 'Removing ISO for VM %d...\n' $1
proxmox_sync DELETE $apiurl/nodes/$node/storage/local/content/local:iso/installer-fedi$1.iso
printf 'done removing ISO for VM %d.\n' $1
}
################################################################################