forked from fediversity/fediversity
		
	Remove ISOs after provisioning
This commit is contained in:
		
							parent
							
								
									3f39f6ebd0
								
							
						
					
					
						commit
						f547f451e1
					
				
					 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