Merge "Reflect default usage of image build"

This commit is contained in:
Jenkins 2017-01-04 01:14:29 +00:00 committed by Gerrit Code Review
commit a05458e665

View File

@ -62,23 +62,22 @@ created on the undercloud, one should use a non-root user.
#. Choose image operating system: #. Choose image operating system:
The common YAML is
``/usr/share/openstack-tripleo-common/image-yaml/overcloud-images.yaml``.
It must be specified along with one of the following.
.. admonition:: CentOS .. admonition:: CentOS
:class: centos :class: centos
The default YAML for CentOS is The image build with no arguments will build CentOS 7. It will include the
``/usr/share/openstack-tripleo-common/image-yaml/overcloud-images-centos7.yaml`` common YAML of
``/usr/share/openstack-tripleo-common/image-yaml/overcloud-images.yaml``
:: and the CentOS YAML at
``/usr/share/openstack-tripleo-common/image-yaml/overcloud-images-centos7.yaml``.
export OS_YAML="/usr/share/openstack-tripleo-common/image-yaml/overcloud-images-centos7.yaml"
.. admonition:: RHEL .. admonition:: RHEL
:class: rhel :class: rhel
The common YAML is
``/usr/share/openstack-tripleo-common/image-yaml/overcloud-images.yaml``.
It must be specified along with the following.
The default YAML for RHEL is The default YAML for RHEL is
``/usr/share/openstack-tripleo-common/image-yaml/overcloud-images-rhel7.yaml`` ``/usr/share/openstack-tripleo-common/image-yaml/overcloud-images-rhel7.yaml``
@ -223,7 +222,14 @@ created on the undercloud, one should use a non-root user.
:: ::
openstack overcloud image build --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-images.yaml --config-file $OS_YAML openstack overcloud image build
.. admonition:: RHEL
:class: rhel
::
openstack overcloud image build --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-images.yaml --config-file $OS_YAML
See the help for ``openstack overcloud image build`` for further options. See the help for ``openstack overcloud image build`` for further options.