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:
parent
473881dcae
commit
a2a4bb6e3b
@ -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.
|
# Set the rabbitmq cluster name if its not set to something else.
|
||||||
if ! grep '^rabbit_cluster_name\:' /etc/openstack_deploy/user_variables.yml;then
|
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
|
fi
|
||||||
|
|
||||||
# Add some new variables to user_variables.yml
|
# Add some new variables to user_variables.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user