deploy — Deploy Image to OpenStack Cloud
machinery deploy NAME -c CONFIG_FILE | --cloud-config=CONFIG_FILE
[-i IMAGE_DIR | --image-dir=IMAGE_DIR]
[-n CLOUD_IMAGE_NAME | --cloud-image-name=CLOUD_IMAGE_NAME]
[-s | --insecure ]
machinery help [deploy]
deploy command builds and deploys an image to an OpenStack cloud.
This command is particularly useful for testing, debugging, or validation.
NOTE: Set Password for Unattended Work
Machinery asks for a password when sourcing the configuration file. This interrupts the work flow and the user has to enter this password. If you prefer to leave it uninterrupted and unattented, remove the following line in your cloud configuration file (see the
read -s OS_PASSWORD_INPUT
and set the password in the
NAME(required): Name of the system description.
--cloud-config=CONFIG_FILE(required): Path to file where the cloud config (openrc.sh) is located. The configuration file is sourced by Machinery.
--image-dir=IMAGE_DIR(optional): Image file under specific path.
--cloud-image-name=CLOUD_IMAGE_NAME(required): Name of the image in the cloud.
--insecure(optional): Allow to make "insecure" HTTPS requests, without checking the SSL certificate when uploading to the cloud.
deploycommand requires the packages
kiwifor building the image and
python-glanceclientfor uploading the image to the cloud.
Machinery only supports deploying x86_64 images on x86_64 systems.
Build an image under the system description named
jeos. Deploy it to the OpenStack cloud name
tux-cloudby using the configuration file
machinerydeploy jeos -n tux-cloud -c tux/openrc.sh