summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorMartin André <m.andre@redhat.com>2016-03-16 08:38:31 +0900
committerMartin André <m.andre@redhat.com>2016-03-16 09:20:11 +0900
commit14da78f9f1bdbb52e898bc390cfaeddca8804404 (patch)
tree4a5a2c3334f66375f3559e2df16ec39c36235921 /dev
parentf4d6aaf0979754b6198f702e309e4a4688b4645b (diff)
downloadkolla-14da78f9f1bdbb52e898bc390cfaeddca8804404.tar.gz
kolla-14da78f9f1bdbb52e898bc390cfaeddca8804404.zip
Fix host_manager plugin for vagrant virtualbox
There is no such thing as virtualbox_{ubuntu,centos} but only a virtualbox provider. The code to retrieve the VM's IP address was never executed and broke host_manager plugin. TrivialFix Change-Id: I0ffacf0bd5d2856264247b23e3b3e918836988e3
Diffstat (limited to 'dev')
-rw-r--r--dev/vagrant/Vagrantfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/dev/vagrant/Vagrantfile b/dev/vagrant/Vagrantfile
index 6ade605fb..1daa8f2ab 100644
--- a/dev/vagrant/Vagrantfile
+++ b/dev/vagrant/Vagrantfile
@@ -149,8 +149,7 @@ Vagrant.configure(2) do |config|
if vm.name
`python newest_dhcp_lease.py #{vm.name}`.chop
end
- when "virtualbox_ubuntu"
- when "virtualbox_centos"
+ when "virtualbox"
if vm.id
`VBoxManage guestproperty get #{vm.id} "/VirtualBox/GuestInfo/Net/1/V4/IP"`.split()[1]
end