Fix missing space, add missing quotes

This commit is contained in:
Nicolas Jeannerod 2025-02-19 17:55:31 +01:00
parent 807808ed00
commit 253a5ad8fa
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8

View file

@ -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