nova来启动虚拟机实例
#openStack service list
#opensSack service list
#openstack-service list | grep nova
#opensatck-service status | grep nave
#vi /etc/nova/nova.conf
确定主机类型flavor
#nova flavor-list
自定义主机类型
#nova flavor-create 11.small 6 1024 40 2
// Name(名称ID) Memory_MB(内存) Disk(硬盘) VCPUs
11.samll 1024 40 2
#nova flavor-list
获取并制作镜像
获取源文件
image
获取渠道包括:网络http:// 本地目录file://
#wget ftp://172.16.102.20/cirros-0.3.4-x86_64-disk.img
制作镜像
// 制作镜像(指定镜像名称、磁盘格式,容器格式、源文件路径)
#glance image-create --name linux-50 --disk-format qcow2 --container-format bare --progress<cirros-1.3.4-x86_64-disk.img
disk_format | qcow2 //磁盘格式
name | linux-50 //指定镜像名称
container_forma