Set docker_remote_api_ip in devstack

This config is set to hostname by default, but this won't work in
multi-host setup. Therefore, we set it to host_ip instead.

Change-Id: I023bf4823513bae277ab08db62f103642b87accb
This commit is contained in:
Hongbin Lu 2017-05-18 19:53:05 -04:00
parent a85f2f19a8
commit bdaf7796fa
1 changed files with 1 additions and 0 deletions

View File

@ -267,6 +267,7 @@ function create_zun_conf {
iniset $ZUN_CONF websocket_proxy wsproxy_host "$ZUN_WEBSOCKET_PROXY_IP"
iniset $ZUN_CONF api host_ip "$ZUN_SERVICE_HOST"
iniset $ZUN_CONF api port "$ZUN_SERVICE_PORT"
iniset $ZUN_CONF docker docker_remote_api_host "$HOST_IP"
iniset $ZUN_CONF oslo_policy policy_file $ZUN_POLICY_JSON