From 5606e00e35b9bb46115d35d9b585ff5172cf464c Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Fri, 19 Dec 2014 16:30:10 +0000 Subject: [PATCH] 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 --- scripts/os-ansible-aio-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/os-ansible-aio-check.sh b/scripts/os-ansible-aio-check.sh index 3fd0d82599..600dbbfb9d 100755 --- a/scripts/os-ansible-aio-check.sh +++ b/scripts/os-ansible-aio-check.sh @@ -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: