OpenStack 制作Windows Server 2012 R2的镜像,过程如下:
1.
2.
3.
上传镜像的命令:
source /root/keystonerc_admin
glance image-create --progress --container-format bare --disk-format raw --file centos7_30G.raw --name centos7.0_64 --is-public True \
--property os_type=linux \
--property os_name='centos7.0' \
--property image_type='SYSTEM' \
--property os_version='V7.0_20180525' \
--property resource_type='VM' \
--property os_kernel='3.10.0' \
--progress
source /root/keystonerc_admin
glance image-create --progress --container-format bare --disk-format raw --file ubuntu14_30G.raw --name ubuntu14.04_64 --is-public True \
--property os_type=linux \
--property os_name='ubuntu14.04' \
--property image_type='SYSTEM' \
--property os_version='V14.04_20180525' \
--property resource_type='VM' \
--property os_kernel='3.16.0' \
--progress