Merge "Fix host_manager plugin for vagrant virtualbox"
This commit is contained in:
commit
1c0082169c
3
dev/vagrant/Vagrantfile
vendored
3
dev/vagrant/Vagrantfile
vendored
@ -149,8 +149,7 @@ Vagrant.configure(2) do |config|
|
|||||||
if vm.name
|
if vm.name
|
||||||
`python newest_dhcp_lease.py #{vm.name}`.chop
|
`python newest_dhcp_lease.py #{vm.name}`.chop
|
||||||
end
|
end
|
||||||
when "virtualbox_ubuntu"
|
when "virtualbox"
|
||||||
when "virtualbox_centos"
|
|
||||||
if vm.id
|
if vm.id
|
||||||
`VBoxManage guestproperty get #{vm.id} "/VirtualBox/GuestInfo/Net/1/V4/IP"`.split()[1]
|
`VBoxManage guestproperty get #{vm.id} "/VirtualBox/GuestInfo/Net/1/V4/IP"`.split()[1]
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user