[Steps summarised from http://docs.openstack.org/user-guide-admin/content/cli_manage_flavors.html]
Pre-requisites
Run steps from link http://itinsteps.blogspot.in/2014/06/steps-to-setup-openstack-command-line.html to setup command line tools for OpenStack.
Set environment for admin
# source ~/keystonerc_admin
Create new flavor
# nova flavor-create --is-public <true/false> <flavor-name> <flavor-ID> <RAM-in-MB> <root-disk-in-GB> <number-of-VCPUs>
Example of new flavor with 1GB RAM, 20GB Root Disk, and 3 VCPUs
# nova flavor-create --is-public true VCPU3RAM1024DISK20 auto 1024 20 3
No comments:
Post a Comment