# Revision history [back]

1. 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

2. 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 smaffulli 6981 ●38 ●68 ●102 http://maffulli.net/
1. 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

2. 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"}' http://127.0.0.1:6385/v1/nodes/$NODE/states/provision

http://127.0.0.1:6385/v1/nodes/\$NODE/states/provision

where NODE NODE is the UUID of the bare metal node