Remove ISOs after provisioning (#81)

This commit is contained in:
Nicolas Jeannerod 2025-01-29 15:36:13 +01:00
commit 2bb1590d54
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8

View file

@ -178,7 +178,11 @@ upload_iso () {
## Remove ISO ## Remove 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
} }
################################################################################ ################################################################################