forked from fediversity/fediversity
		
	Remove ISOs after provisioning (#81)
This commit is contained in:
		
						commit
						2bb1590d54
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -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 | ||||
| } | ||||
| 
 | ||||
| ################################################################################ | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue