admin
不忘初心,方得始终
级别: 管理员
只看楼主 | | | 0楼 发表于:2018-04-17 09:22

OpenStack 制作Windows Server 2012 R2的镜像

  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