Make the admonition to only run _testenv once more explicit.

Many people, on their second time running through the devtest_*.sh
scripts following the instructions in devtest.html, seem to
misunderstand the instructions about only running _testenv.sh once.

To try to make this clearer, I've modified the language a little and put
it into a "warning" box.

Change-Id: I4fe24bb944d95fa348cb90702beffe4811c8e497
Closes-bug: 1294083
This commit is contained in:
James Polley 2014-04-29 09:55:17 +10:00
parent 4f78617926
commit 4dea278b33
1 changed files with 12 additions and 4 deletions

View File

@ -224,10 +224,18 @@ source $(dirname $0)/devtest_variables.sh #nodocs
devtest_setup.sh $CONTINUE
## #. See :doc:`devtest_testenv` for documentation. Note that you can make
## your test environment just once and reuse it thereafter.
## TE_DATAFILE should specify where you want your test environment JSON
## file created. (A default value is set in devtest_variables.sh).
## #. See :doc:`devtest_testenv` for documentation. This step creates the
## seed VM, as well as "baremetal" VMs for the under/overclouds. Details
## of the created VMs are written to ``$TE_DATAFILE``.
## .. warning::
## You should only run this step once, the first time the environment
## is being set up. Unless you remove the VMs and need to recreate
## them, you should skip this step on subsequent runs. Running this
## script with existing VMs will result in information about the existing
## nodes being removed from ``$TE_DATAFILE``
## ::
if [ "$TRIPLEO_CLEANUP" = "1" ]; then #nodocs