First time here? Check out the FAQ!
![]() | 1 | initial version |
Ironic does not have command to deploy. So, we have to use curl command to deploy. a. Get a token from the below command: ironic --debug node-list b. Store the value of the “X-Auth-Token” in the variable TOKEN
Curl Command to deploy:
curl -i -X PUT -H "X-Auth-Token: $TOKEN" -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' -d '{"target": "active"}' http://127.0.0.1:6385/v1/nodes/$NODE/states/provision
where NODE is the UUID of the bare metal node
![]() | 2 | No.2 Revision |
Ironic does not have command to deploy. So, we have to use curl command to deploy.
a. Get deploy. First you'll need to get a token from the below command:
command:
ironic --debug node-list
b.
Store the value of the “X-Auth-Token” in the variable TOKEN
User Curl Command command to deploy:
curl -i -X PUT -H "X-Auth-Token: $TOKEN" -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' -d '{"target": "active"}' where NODE NODE
is the UUID of the bare metal node