run-upgrade.sh: add a missing redirect

When adding rabbit_cluster_name: rpc to the user variables, it just
echoed it and did not redirect the output to add it to the
user_variables.yml file.

Change-Id: Idddc9eedf868f1312d7a449bba7079d207309538
This commit is contained in:
Serge van Ginderachter 2015-05-20 12:37:34 +02:00 committed by kevin
parent 473881dcae
commit a2a4bb6e3b

View File

@ -99,7 +99,7 @@ cp etc/openstack_deploy/openstack_environment.yml /etc/openstack_deploy/
# Set the rabbitmq cluster name if its not set to something else.
if ! grep '^rabbit_cluster_name\:' /etc/openstack_deploy/user_variables.yml;then
echo 'rabbit_cluster_name: rpc' /etc/openstack_deploy/user_variables.yml
echo 'rabbit_cluster_name: rpc' | tee -a /etc/openstack_deploy/user_variables.yml
fi
# Add some new variables to user_variables.yml