Merge "Fix the curl command in the ironic-deploy element"
This commit is contained in:
commit
cf7af05fff
@ -36,11 +36,11 @@ fi
|
|||||||
DATA="'{\"address\":\"$BOOT_IP_ADDRESS\",\"key\":\"$DEPLOYMENT_KEY\",\"iqn\":\"$ISCSI_TARGET_IQN\",\"error\":\"$FIRST_ERR_MSG\"}'"
|
DATA="'{\"address\":\"$BOOT_IP_ADDRESS\",\"key\":\"$DEPLOYMENT_KEY\",\"iqn\":\"$ISCSI_TARGET_IQN\",\"error\":\"$FIRST_ERR_MSG\"}'"
|
||||||
|
|
||||||
echo "request Ironic API to deploy image"
|
echo "request Ironic API to deploy image"
|
||||||
curl \
|
eval curl -i -X POST \
|
||||||
-X POST \
|
"$TOKEN_HEADER" \
|
||||||
-H 'Content-Type: application/json' \
|
"-H 'Accept: application/json'" \
|
||||||
$TOKEN_HEADER \
|
"-H 'Content-Type: application/json'" \
|
||||||
-d $DATA \
|
-d "$DATA" \
|
||||||
$IRONIC_API_URL/nodes/$DEPLOYMENT_ID/vendor_passthru/pass_deploy_info
|
$IRONIC_API_URL/nodes/$DEPLOYMENT_ID/vendor_passthru/pass_deploy_info
|
||||||
|
|
||||||
echo "waiting for notice of complete"
|
echo "waiting for notice of complete"
|
||||||
|
Loading…
Reference in New Issue
Block a user