diff --git a/docker/glance/glance-base/config-glance.sh b/docker/glance/glance-base/config-glance.sh index 2f78464bdb..6c6a0ef23c 100644 --- a/docker/glance/glance-base/config-glance.sh +++ b/docker/glance/glance-base/config-glance.sh @@ -12,7 +12,7 @@ MY_IP=$(ip route get $(ip route | awk '$1 == "default" {print $3}') | : ${GLANCE_DB_USER:=glance} : ${GLANCE_KEYSTONE_USER:=glance} : ${KEYSTONE_AUTH_PROTOCOL:=http} -: ${PUBLIC_IP:=$MY_IP} +: ${PUBLIC_IP:=$GLANCE_API_PORT_9292_TCP_ADDR} if ! [ "$GLANCE_DB_PASSWORD" ]; then GLANCE_DB_PASSWORD=$(openssl rand -hex 15)