summaryrefslogtreecommitdiffstats
path: root/bin/stack
diff options
context:
space:
mode:
authorDavanum Srinivas <dims@linux.vnet.ibm.com>2013-06-25 08:54:53 -0400
committerDavanum Srinivas <dims@linux.vnet.ibm.com>2013-06-26 15:10:39 -0400
commit7b97d363524fbd471289070557d1b8ffe9c06758 (patch)
tree87490a1ef02bd69e0c80e3720923869549253196 /bin/stack
parent922e7306a4b0a5222d6f4175e021108c05f008bf (diff)
downloadnova-7b97d363524fbd471289070557d1b8ffe9c06758.tar.gz
nova-7b97d363524fbd471289070557d1b8ffe9c06758.tar.xz
nova-7b97d363524fbd471289070557d1b8ffe9c06758.zip
Better default for my_ip if 8.8.8.8 is unreachable
Run if route/show, extract ipv4 addresses and pick the first one. Fall back to 127.0.0.1 as before if we don't find anything or if we have running the ip route/show commands Fixes LP# 1193013 Change-Id: If73f0f6bf67f858f7506220debab0f74cc9e3cb4
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions