Enclose admin password in quotes

This change encloses the admin password in quotes to support passwords
with spaces in them.

Change-Id: Iae9829f5d664eff3e2184d3ed03409f6ae281ddb
Closes-Bug: 1476338
This commit is contained in:
Alex Schultz 2015-09-08 12:51:36 -05:00
parent 967e9a0daa
commit 055752cb5d

View File

@ -161,7 +161,7 @@ export BINROOT=$(dirname `readlink -f "$0"`)
# If running on Fuel node - check if we can connect to backend
if hash fuel2 2>/dev/null; then
echo " * INFO: Verifying connection to the Fuel backend"
if env http_proxy="" fuel --user=admin --password=$FUEL_ADMIN_PASS release &>/dev/null; then
if env http_proxy="" fuel --user=admin --password="$FUEL_ADMIN_PASS" release &>/dev/null; then
echo " * INFO: Fuel backend connection OK"
else
echo " * FATAL: Connect to Fuel backend failed. Please verify that Fuel services are up&running."