From a2a4bb6e3bab097017aa544d109a4e5f69b48dc2 Mon Sep 17 00:00:00 2001 From: Serge van Ginderachter Date: Wed, 20 May 2015 12:37:34 +0200 Subject: [PATCH] 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 --- scripts/run-upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-upgrade.sh b/scripts/run-upgrade.sh index ecb91d0ae3..e46aefed20 100755 --- a/scripts/run-upgrade.sh +++ b/scripts/run-upgrade.sh @@ -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