第 3 章 管理镜像、镜像属性和镜像格式
管理镜像以及您在 Red Hat OpenStack Platform (RHOSP)镜像服务(glance)中上传、导入或存储的镜像的属性和格式。
3.1. 将镜像上传到镜像服务 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
将镜像上传到 Red Hat OpenStack Platform (RHOSP)镜像服务(glance)。
流程
使用
glance image-create命令和property选项来上传镜像。例如:
glance image-create --name <name> \ --is-public true --disk-format qcow2 \ --container-format bare \ --file <image-file> \ --property <image-metadata>$ glance image-create --name <name> \ --is-public true --disk-format qcow2 \ --container-format bare \ --file <image-file> \ --property <image-metadata>Copy to Clipboard Copied! Toggle word wrap Toggle overflow