Merge "Fix host_manager plugin for vagrant virtualbox"

This commit is contained in:
Jenkins 2016-03-16 08:28:10 +00:00 committed by Gerrit Code Review
commit 1c0082169c

View File

@ -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