aboutsummaryrefslogtreecommitdiff
path: root/docker/base
diff options
context:
space:
mode:
authorMartin André <m.andre@redhat.com>2016-02-09 12:09:33 +0900
committerMartin André <m.andre@redhat.com>2016-02-09 14:25:22 +0900
commite715856f5228ab8199f4a0bd08253137411c0b99 (patch)
treeec5e6a1d2666b7e9744708c96a9f58ffa75e0b0d /docker/base
parent31e0b3454ce5b2aaea960ef778bc4432c22e002b (diff)
downloadkolla-e715856f5228ab8199f4a0bd08253137411c0b99.tar.gz
kolla-e715856f5228ab8199f4a0bd08253137411c0b99.zip
Fetching IP addresses for vagrant-hostmanager from libvirt
To fetch the IP address from the interface other than eth0 for vagrant-hostmanager plugin, it must be fetched from the DHCP leases from libvirt network. The previously used one-liner, which was using virsh with awk, returns multiple addresses when VM was destroyed before expiration of its DHCP lease. This script solved this problem by getting only the newest DHCP lease and gives a possibility to destroy Vagrant environment and set up again without worrying about hosts resolving. Co-Authored-By: Michal Rostecki <mrostecki@mirantis.com> Partially-Implements: blueprint vagrant Related-Id: Ic469b46f4d02d873c27114cbd268b86521eef32b Related-Id: I81f07b7e4a202af68fd3cf9fdb308c3734c40a83 Change-Id: I408415e95483c1b8988d0f67c654212de63bece2
Diffstat (limited to 'docker/base')
0 files changed, 0 insertions, 0 deletions