doc: spice-example-sh: support special characters in passwords
This commit is contained in:
parent
52a450d619
commit
765bba6ca6
@ -59,7 +59,7 @@ fi
|
||||
|
||||
NODE="${NODE%%\.*}"
|
||||
|
||||
DATA="$(curl -f -s -S -k -d "username=$USERNAME&password=$PASSWORD" "https://$PROXY:8006/api2/json/access/ticket")"
|
||||
DATA="$(curl -f -s -S -k --data-urlencode "username=$USERNAME" --data-urlencode "password=$PASSWORD" "https://$PROXY:8006/api2/json/access/ticket")"
|
||||
|
||||
echo "AUTH OK"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user