Fix error in scripts/run-upgrade.sh

This commit simply updates scripts/run-upgrade.sh to fix the typo
where the echo is not actually appending output to user_secrets.yml.

Change-Id: I21007c4fdf580cc2e1ef97b1f226d5518a7cb1fc
Closes-Bug: #1445665
This commit is contained in:
Matt Thompson 2015-04-17 22:04:27 +01:00
parent fcc4144692
commit 4b3ad96ff9

View File

@ -184,7 +184,7 @@ EOF
# Create the horizon secret key if not found.
if ! grep '^horizon_secret_key\:' /etc/openstack_deploy/user_secrets.yml;then
echo 'horizon_secret_key:' /etc/openstack_deploy/user_secrets.yml
echo 'horizon_secret_key:' | tee -a /etc/openstack_deploy/user_secrets.yml
fi
# Regenerate secrets for the new entries