Openstack: Create a Flavor

Updated . Posted . Visible to the public.

List flavors to show the ID and name, the amount of memory, the amount of disk space for the root partition and for the ephemeral partition, the swap, and the number of virtual CPUs for each flavor.

$ nova flavor-list

To create a flavor, specify a name, ID, RAM size, disk size, and the number of VCPUs for the flavor, as follows:

$ nova flavor-create FLAVOR_NAME FLAVOR_ID RAM_IN_MB ROOT_DISK_IN_GB NUMBER_OF_VCPUS

The ID of the new flavor should always be one higher than the highest.

Pascal Roth
Last edit
Claus-Theodor Riegg
License
Source code in this card is licensed under the MIT License.
Posted by Pascal Roth to makandra dev (2014-09-01 12:05)