Fix variable misspelling error
'passthru' was spelled as 'passhru'. Change-Id: I313b1a9393eccc6813b8e207ecc22db9fca93bb4
This commit is contained in:
parent
69b8823b62
commit
0d92e2ffbb
@ -83,14 +83,14 @@ function install_bootloader {
|
|||||||
function do_vendor_passthru_and_wait {
|
function do_vendor_passthru_and_wait {
|
||||||
|
|
||||||
local data=$1
|
local data=$1
|
||||||
local vendor_passhru_name=$2
|
local vendor_passthru_name=$2
|
||||||
|
|
||||||
eval curl -i -X POST \
|
eval curl -i -X POST \
|
||||||
"$TOKEN_HEADER" \
|
"$TOKEN_HEADER" \
|
||||||
"-H 'Accept: application/json'" \
|
"-H 'Accept: application/json'" \
|
||||||
"-H 'Content-Type: application/json'" \
|
"-H 'Content-Type: application/json'" \
|
||||||
-d "$data" \
|
-d "$data" \
|
||||||
"$IRONIC_API_URL/v1/nodes/$DEPLOYMENT_ID/vendor_passthru/$vendor_passhru_name"
|
"$IRONIC_API_URL/v1/nodes/$DEPLOYMENT_ID/vendor_passthru/$vendor_passthru_name"
|
||||||
|
|
||||||
echo "Waiting for notice of complete"
|
echo "Waiting for notice of complete"
|
||||||
nc -l -p 10000
|
nc -l -p 10000
|
||||||
|
Loading…
Reference in New Issue
Block a user