附录 A. 镜像服务(glance)命令选项
您可以将以下可选参数与 glance image-create
和 glance image-update
命令一起使用。
特定于 | 选项 | 描述 |
---|---|---|
All |
| 如 https://docs.openstack.org/glance/latest/user/common-image-properties.html#architecture中指定的操作系统架构 |
All |
| 如果为 true,则镜像将无法处理。 |
All |
| 镜像的描述性名称 |
All |
| 可用于记录该镜像关联的实例的元数据。(仅信息,不创建实例快照。) |
All |
| 引导镜像所需的磁盘空间量(以 GB 为单位)。 |
All |
| 镜像可访问性的范围。有效值:public, private, community, shared |
All |
| 镜像服务(glance)中存储的镜像 ID,在引导 AMI 风格的镜像时应用作内核。 |
All |
| 由经销商指定的操作系统版本 |
All |
| 磁盘格式。有效值: None, ami, ari, aki, vhd, vhdx, vmdk, raw, qcow2, vdi, iso, ploop |
All |
| https://docs.openstack.org/glance/latest/user/common-image-properties.html#os-distro中指定的操作系统分布的通用名称 |
All |
| 镜像的所有者 |
All |
| 镜像服务中存储的镜像的 ID,在引导 AMI 样式的镜像时应用作 ramdisk。 |
All |
| 引导镜像所需的 RAM 量(以 MB 为单位)。 |
All |
| 容器的格式。有效值: None, ami, ari, aki, bare, ovf, ova, docker |
All |
| 与镜像关联的任意属性。可以多次使用。 |
|
| 与镜像相关的字符串列表 |
|
| 镜像的标识符 |
|
| 从镜像中删除的任意属性的密钥名称。 |