metalsmith/doc/source/cli/index.rst
Dmitry Tantsur be21ac731b Updates after becoming an official projects
* Build documentation on docs.openstack.org
* Add badges, update README
* Adjust docs subdirs to match the standards

Change-Id: Ie4f51f994ef783c4924a6523fbdfe600fede6d12
2018-09-21 14:09:39 +02:00

803 B

metalsmith CLI

Deploy Command

Generic usage is as follows:

metalsmith --os-cloud <CLOUD NAME> deploy --image <GLANCE IMAGE> \
    --network <NEUTRON NET> --ssh-public-key <PATH TO SSH PUBLIC KEY> \
    --resource-class <RESOURCE CLASS>

This is an example suitable for TripleO (replace compute with the profile you want to deploy):

source ~/stackrc
metalsmith deploy --image overcloud-full --network ctlplane \
    --capability profile=compute --ssh-public-key ~/.ssh/id_rsa.pub \
    --resource-class baremetal

Undeploy Command

To remove the deployed instance:

metalsmith --os-cloud <CLOUD NAME> undeploy <NODE UUID>

See Also

For all possible options see the built-in help:

metalsmith --help