From 2c3af23e0489fe68d3196b2f422ee3ef24fd4e6a Mon Sep 17 00:00:00 2001 From: "ChangBo Guo(gcb)" Date: Tue, 9 Jan 2018 17:03:36 +0800 Subject: [PATCH] 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 --- api-ref/source/parameters.yaml | 4 ++-- doc/source/user/index.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index d8d413a6e7..e02dc165c0 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -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 diff --git a/doc/source/user/index.rst b/doc/source/user/index.rst index df83500772..1bda195fd1 100644 --- a/doc/source/user/index.rst +++ b/doc/source/user/index.rst @@ -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