labs: set authentication host (OPENSTACK_HOST)
Set OPENSTACK_HOST (default: 127.0.0.1) to controller-mgmt. Change-Id: I54e4aa5786426d30074a51100162a53f9d1768f7
This commit is contained in:
parent
826588274a
commit
9bba978fd4
@ -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."
|
||||
|
Loading…
x
Reference in New Issue
Block a user