forked from fediversity/fediversity
		
	Fix missing space, add missing quotes
This commit is contained in:
		
							parent
							
								
									807808ed00
								
							
						
					
					
						commit
						253a5ad8fa
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -85,7 +85,7 @@ readonly memory | |||
| ## FIXME: When we figure out how to use other nodes than node051. | ||||
| # if [ -z "$node" ]; then | ||||
| #   printf 'Picking random node...' | ||||
| #   proxmox GET $api_url/nodes | ||||
| #   proxmox GET "$api_url/nodes" | ||||
| #   node=$(from_response .data[].node | sort -R | head -n 1) | ||||
| #   printf " done. Picked '%s'.\n" "$node" | ||||
| # fi | ||||
|  | @ -98,7 +98,7 @@ printf 'Authenticating...' | |||
| response=$( | ||||
|     http \ | ||||
|         --verify no \ | ||||
|         POST $api_url/access/ticket \ | ||||
|         POST "$api_url/access/ticket" \ | ||||
|         "username=$username" \ | ||||
|         "password=$password" | ||||
|     ) | ||||
|  | @ -170,7 +170,7 @@ upload_iso () { | |||
|   acquire_lock upload | ||||
|   printf 'Uploading ISO for VM %d...\n' "$1" | ||||
| 
 | ||||
|   proxmox_sync POST"$api_url/nodes/$node/storage/local/upload" \ | ||||
|   proxmox_sync POST "$api_url/nodes/$node/storage/local/upload" \ | ||||
|     "filename@$tmpdir/installer-fedi$1.iso" \ | ||||
|     content==iso | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue