lib/vagrant-plugin-dummy/communication/communicator.rb in vagrant-plugin-dummy-0.0.5 vs lib/vagrant-plugin-dummy/communication/communicator.rb in vagrant-plugin-dummy-0.0.6
- old
+ new
@@ -23,12 +23,12 @@
def ready?
provider = @machine.provider_name.id2name
# NOTE: There is no timeout here. We should probably have one...
if provider == 'virtualbox'
return ready_virtualbox?
- elsif provider == 'vmware_workstation'
- return ready_vmware_workstation?
+ elsif provider == 'vmware_workstation' or provider == 'vmware_fusion'
+ return ready_vmware?
end
end
def ready_virtualbox?
@logger.debug("Checking the status of NIC 0")
@@ -38,10 +38,10 @@
@logger.debug("NIC 0 Status: "+ nic_0_status)
end
return true
end
- def ready_vmware_workstation?
+ def ready_vmware?
@logger.debug("Checking if IP address is assigned")
ip = nil
while not ip do
ip = nil
begin