Thursday, January 19, 2017

OpenStack - Instances CLI Commands

Viewing/listing list of available flavor
Syntax: nova list
# nova list

Viewing/listing details of a specific instance
Syntax: nova show <instance>
# nova show cirros

Creating an instance from the CLI
Syntax: nova boot --flavor <flavor_name> --image <image_name/ID> --security-groups <security_group> --nic net-name=<private> <instance_name>
# nova boot --flavor m1.tiny --image cirros-0.3.4-x86_64-uec --security-groups webservers --nic net-name=private Crrios2

0 comments:

Post a Comment