赞
踩
glance-control all status
glance-control --version
systemctl start openstack-glance-api
systemctl start openstack-glance-registry
(1)使用命令行创建镜像,名字为自己姓名
命令行截图:
openstack image create “cirros-0.3.4-x86_64-disk.img” --file cirros-0.3.4-x86_64-disk.img –disk-format qcow2 –container-format bare --public
图形界面截图:
(2)查看镜像信息
先查看镜像列表,
# openstack image list
截图:
然后通过glance image-show命令查看镜像的详细信息,其中参数可以是镜像id或者镜像名称,如下所示。截图:
用# openstack image show 查看镜像,截图:
(3)通过命令删除镜像操作如下,执行结果如下所示。
删除镜像截图:
镜像列表:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。