From e7ea7bf7ff181f2b04f2110c5005f120a6db03e5 Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Mon, 27 Feb 2017 12:38:05 -0600 Subject: [PATCH] Let API listen to 0.0.0.0 in devstack In dev environment, it is convient to let zun-api listen to all addresses. Change-Id: I0aa27222023d00109c127018cbdd4c408980ae67 --- devstack/lib/zun | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/zun b/devstack/lib/zun index 8eb0b7418..fd09c7104 100644 --- a/devstack/lib/zun +++ b/devstack/lib/zun @@ -211,7 +211,7 @@ function create_zun_conf { iniset $ZUN_CONF database connection `database_connection_url zun` iniset $ZUN_CONF etcd etcd_host "$HOST_IP" iniset $ZUN_CONF etcd etcd_port 2379 - iniset $ZUN_CONF api host_ip "$ZUN_SERVICE_HOST" + iniset $ZUN_CONF api host_ip 0.0.0.0 iniset $ZUN_CONF api port "$ZUN_SERVICE_PORT" iniset $ZUN_CONF oslo_policy policy_file $ZUN_POLICY_JSON