附录 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 |
| 与镜像关联的任意属性。可以多次使用。 |
|
|
| 与镜像相关的字符串列表 |
|
|
| 镜像的标识符 |
|
|
| 从镜像中删除的任意属性的密钥名称。 |