Echo warning to export TODOLIST var.

In case the scripts are run independently and not via run-stages.sh
some vars are not set for script execution and the deployer need to
export a new env var.

Change-Id: I4f24478d92563f5c00fefce269120f1b908aedcd
This commit is contained in:
Marc Gariepy 2017-09-07 10:58:14 -04:00
parent a3cde38df0
commit 100b38128a
2 changed files with 4 additions and 1 deletions

View File

@ -47,7 +47,8 @@ bash ./run-stages.sh
```
If you want to pre-load the stages you can do so by running the various scripts
independently.
independently. **You must** export ``export UPGRADES_TO_TODOLIST`` once the
prep.sh script is completed.
``` bash
bash ./prep.sh

View File

@ -251,6 +251,8 @@ function set_upgrade_vars {
export CONFIG_DIR="/etc/openstack_deploy"
;;
esac
# Do not forget to export the TODOLIST if you run the scripts one by one.
warning "export UPGRADES_TO_TODOLIST=\"${UPGRADES_TO_TODOLIST}\""
}
function pre_flight {