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
required: true
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.
cluster_id:
type: UUID
@ -318,7 +318,7 @@ id_s:
image_id:
description: |
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.
in: body
required: true

View File

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