Fix cleaning documents
Field <node> is missing in CLI example, this patch will make it right. Change-Id: I3d08319e2c1a09fcbf96800eaee9560fb9fe40e5
This commit is contained in:
parent
fc85902c55
commit
eb6be86829
@ -169,20 +169,20 @@ higher.
|
||||
|
||||
Examples of doing this with a JSON string::
|
||||
|
||||
ironic --ironic-api-version 1.15 node-set-provision-state \
|
||||
ironic --ironic-api-version 1.15 node-set-provision-state <node> \
|
||||
clean --clean-steps '[{"interface": "deploy", "step": "erase_devices_metadata"}]'
|
||||
|
||||
ironic --ironic-api-version 1.15 node-set-provision-state \
|
||||
ironic --ironic-api-version 1.15 node-set-provision-state <node> \
|
||||
clean --clean-steps '[{"interface": "deploy", "step": "erase_devices"}]'
|
||||
|
||||
Or with a file::
|
||||
|
||||
ironic --ironic-api-version 1.15 node-set-provision-state \
|
||||
ironic --ironic-api-version 1.15 node-set-provision-state <node> \
|
||||
clean --clean-steps my-clean-steps.txt
|
||||
|
||||
Or with stdin::
|
||||
|
||||
cat my-clean-steps.txt | ironic --ironic-api-version 1.15 \
|
||||
cat my-clean-steps.txt | ironic --ironic-api-version 1.15 <node> \
|
||||
node-set-provision-state clean --clean-steps -
|
||||
|
||||
Cleaning Network
|
||||
|
Loading…
x
Reference in New Issue
Block a user