Merge "labs: set authentication host (OPENSTACK_HOST)"

This commit is contained in:
Jenkins 2014-11-30 17:33:01 +00:00 committed by Gerrit Code Review
commit 7f1af6d259

View File

@ -44,6 +44,10 @@ function check_dashboard_settings {
echo -n "Allowed hosts: "
grep "^ALLOWED_HOSTS" $dashboard_conf
local auth_host=controller-mgmt
echo "Setting OPENSTACK_HOST = \"$auth_host\"."
sudo sed -i "s#^\(OPENSTACK_HOST =\).*#\1 \"$auth_host\";#" $dashboard_conf
}
echo "Checking dashboard configuration."