From 5de277fb544eca9737589433f860ba4e88bf5eef Mon Sep 17 00:00:00 2001 From: Yuriy Zveryanskyy Date: Fri, 29 May 2015 09:12:21 +0300 Subject: [PATCH] Add Ironic API version to passthru URL for deploy-ironic Add current version of Ironic API for consistensy with IPA and Ironic API settings, and for compatibility in the future. Change-Id: I13c7a26b6cfb47a14aa49ee78441a1d97d7b42d0 --- elements/deploy-ironic/init.d/80-deploy-ironic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/deploy-ironic/init.d/80-deploy-ironic b/elements/deploy-ironic/init.d/80-deploy-ironic index 837a6c546..ca2d788c3 100644 --- a/elements/deploy-ironic/init.d/80-deploy-ironic +++ b/elements/deploy-ironic/init.d/80-deploy-ironic @@ -90,7 +90,7 @@ function do_vendor_passthru_and_wait { "-H 'Accept: application/json'" \ "-H 'Content-Type: application/json'" \ -d "$data" \ - "$IRONIC_API_URL/nodes/$DEPLOYMENT_ID/vendor_passthru/$vendor_passhru_name" + "$IRONIC_API_URL/v1/nodes/$DEPLOYMENT_ID/vendor_passthru/$vendor_passhru_name" echo "Waiting for notice of complete" nc -l -p 10000