Adding clean-steps via json string examples
Change-Id: Ie74bb2a46c79ae97b6fed7b544e9aa302d2d7e04 Signed-off-by: Sasha Chuzhoy <sasha@redhat.com>
This commit is contained in:
parent
96fde67102
commit
3284cd9150
@ -167,10 +167,13 @@ Its value is one of:
|
|||||||
Keep in mind that manual cleaning is only supported in API version 1.15 and
|
Keep in mind that manual cleaning is only supported in API version 1.15 and
|
||||||
higher.
|
higher.
|
||||||
|
|
||||||
An example of doing this with a JSON string::
|
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 \
|
||||||
clean --clean-steps '[...]'
|
clean --clean-steps '[{"interface": "deploy", "step": "erase_devices_metadata"}]'
|
||||||
|
|
||||||
|
ironic --ironic-api-version 1.15 node-set-provision-state \
|
||||||
|
clean --clean-steps '[{"interface": "deploy", "step": "erase_devices"}]'
|
||||||
|
|
||||||
Or with a file::
|
Or with a file::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user