Set external_lb_address to eth0's address in all-in-one build

This patch sets the external_lb_address to the instance's eth0 address
to ensure that any services that rely on accessing that address are able
to do so.

Change-Id: Ie5955eaedef14f5916ec19203f8724e107a409da
Closes-Bug: #1404305
This commit is contained in:
Jesse Pretorius 2014-12-19 16:30:10 +00:00
parent 2d7d86b52a
commit 5606e00e35

View File

@ -218,7 +218,7 @@ used_ips:
global_overrides:
rpc_repo_url: ${FROZEN_REPO_URL}
internal_lb_vip_address: 172.29.236.100
external_lb_vip_address: 192.168.10.10
external_lb_vip_address: $(ip -o -4 addr show dev eth0 | awk -F '[ /]+' '/global/ {print $4}')
tunnel_bridge: "br-vxlan"
management_bridge: "br-mgmt"
infra_hosts: