Merge "Replaces the default PUBLIC_INTERFACE of eth0"
This commit is contained in:
commit
bc4d233687
@ -23,7 +23,7 @@ export ADMIN_PASSWORD=${ADMIN_PASSWORD:-"secrete"}
|
||||
export SERVICE_REGION=${SERVICE_REGION:-"RegionOne"}
|
||||
export DEPLOY_SWIFT=${DEPLOY_SWIFT:-"yes"}
|
||||
export GET_PIP_URL=${GET_PIP_URL:-"https://bootstrap.pypa.io/get-pip.py"}
|
||||
export PUBLIC_INTERFACE=${PUBLIC_INTERFACE:-"eth0"}
|
||||
export PUBLIC_INTERFACE=${PUBLIC_INTERFACE:-$(ip route show | awk '/default/ { print $NF }')}
|
||||
export PUBLIC_ADDRESS=${PUBLIC_ADDRESS:-$(ip -o -4 addr show dev ${PUBLIC_INTERFACE} | awk -F '[ /]+' '/global/ {print $4}')}
|
||||
export NOVA_VIRT_TYPE=${NOVA_VIRT_TYPE:-"qemu"}
|
||||
export TEMPEST_FLAT_CIDR=${TEMPEST_FLAT_CIDR:-"172.29.248.0/22"}
|
||||
|
Loading…
Reference in New Issue
Block a user