doc: Use os_distro instead of os-distro

Glance use os_distro to indicate the operating system distribution[1],
we should use the same name.

[1]https://github.com/openstack/glance/blob/master/doc/source/user/common-image-properties.rst#os_distro

Change-Id: I0f19af858552cc7fa08bac29fdb9986d494e1985
This commit is contained in:
ChangBo Guo(gcb)
2018-01-09 17:03:36 +08:00
committed by Spyros Trigazis (strigazi)
parent 604bbe5f33
commit 2c3af23e04
2 changed files with 3 additions and 3 deletions

View File

@@ -98,7 +98,7 @@ cluster_distro:
in: body in: body
required: true required: true
description: | description: |
Display the attribute ``os-distro`` defined as appropriate metadata in Display the attribute ``os_distro`` defined as appropriate metadata in
image for the bay/cluster driver. image for the bay/cluster driver.
cluster_id: cluster_id:
type: UUID type: UUID
@@ -318,7 +318,7 @@ id_s:
image_id: image_id:
description: | description: |
The name or UUID of the base image in Glance to boot the servers for the The name or UUID of the base image in Glance to boot the servers for the
bay/cluster. The image must have the attribute ``os-distro`` defined as bay/cluster. The image must have the attribute ``os_distro`` defined as
appropriate for the bay/cluster driver. appropriate for the bay/cluster driver.
in: body in: body
required: true required: true

View File

@@ -123,7 +123,7 @@ They are loosely grouped as: mandatory, infrastructure, COE specific.
images, the os_distro names are: images, the os_distro names are:
========== ===================== ========== =====================
COE os-distro COE os_distro
========== ===================== ========== =====================
Kubernetes fedora-atomic, coreos Kubernetes fedora-atomic, coreos
Swarm fedora-atomic Swarm fedora-atomic