Make every reference to the prepare command use sudo

Even though the installing user is added to the docker group, this
only takes effect after they restart their shell session. So if they
install the undercloud and run prepare in the same session, the
prepare call will fail at the docker operations.

Rather than explain this caveat, document calling prepare with sudo.
This is already done on line #266, but this change ensures every
reference to the command includes sudo.

Change-Id: Ia14b0964dcaefbbf7265b3960315114219fd3c7b
Closes-Bug: #1793375
This commit is contained in:
Steve Baker 2018-09-20 08:47:53 +12:00
parent 36f1e754be
commit 75c2c3c444

View File

@ -121,7 +121,7 @@ The prepare operations are run at the following times:
provided by including the argument `-e
$HOME/containers-prepare-parameter.yaml`
(see :ref:`overcloud-prepare-container-images`)
#. Any other time when ``openstack tripleo container image prepare`` is run
#. Any other time when ``sudo openstack tripleo container image prepare`` is run
Options available in heat parameter ContainerImagePrepare