OpenStack images

1,Image metadata property

  (次选项很有用用于指定PowerVM,kvm,and so on hypervisor_monitor)从而过滤computeNodes,通过指定镜像的--property hypervisor_type=qemu注册的镜像到imageService则我们要是基于这个镜像创建VMI,则只能在镜像中指定的hypervisor_type的ComputeNodes中选取合适的新建VMs的物理云计算宿主机.

根据上面修改以注册到镜像服务器的镜像属性(变更hypervisor_type,土话就是修改基于此修改镜像新建虚机的ComputeNodes)

glance image-update img-uuid --property architecture=arm --property hypervisor_type=qemu

Nova(compute control镜像属性过滤配置)

ImagePropertiesFilter value is specified in the scheduler_default_filter value in the /etc/nova/nova.conf

2,查看可用镜像及指定镜像的详细信息

nova image-list,glance image-list

nova image-show image-Uid

specify image-uid in detail Info

对比2个镜像的详细信息,Ruiy 相信看官已经看出些端倪了吧!

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值