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.
|
## FIXME: When we figure out how to use other nodes than node051.
|
||||||
# if [ -z "$node" ]; then
|
# if [ -z "$node" ]; then
|
||||||
# printf 'Picking random node...'
|
# printf 'Picking random node...'
|
||||||
# proxmox GET $api_url/nodes
|
# proxmox GET "$api_url/nodes"
|
||||||
# node=$(from_response .data[].node | sort -R | head -n 1)
|
# node=$(from_response .data[].node | sort -R | head -n 1)
|
||||||
# printf " done. Picked '%s'.\n" "$node"
|
# printf " done. Picked '%s'.\n" "$node"
|
||||||
# fi
|
# fi
|
||||||
|
@ -98,7 +98,7 @@ printf 'Authenticating...'
|
||||||
response=$(
|
response=$(
|
||||||
http \
|
http \
|
||||||
--verify no \
|
--verify no \
|
||||||
POST $api_url/access/ticket \
|
POST "$api_url/access/ticket" \
|
||||||
"username=$username" \
|
"username=$username" \
|
||||||
"password=$password"
|
"password=$password"
|
||||||
)
|
)
|
||||||
|
@ -170,7 +170,7 @@ upload_iso () {
|
||||||
acquire_lock upload
|
acquire_lock upload
|
||||||
printf 'Uploading ISO for VM %d...\n' "$1"
|
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" \
|
"filename@$tmpdir/installer-fedi$1.iso" \
|
||||||
content==iso
|
content==iso
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue