To build a new KVM instance using the OpenStack command-line interface (CLI), perform the following steps:
- Ensure that we have an available Glance image to use:
root@controller:~# openstack image list+--------------------------------------+--------------+--------+| ID | Name | Status |+--------------------------------------+--------------+--------+| abce08d2-2f9f-4545-a414-32019d41c0cd | ubuntu_16.04 | active |+--------------------------------------+--------------+--------+root@controller:~#
- Create a new instance flavor type:
root@controller:~# openstack flavor create --id 0 --vcpus 1 --ram 1024 --disk 5000 kvm.medium+----------------------------+------------+| Field | Value |+----------------------------+------------+ ...