Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

Rename VMware Fusion support to VMware Desktop #358

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ Install under Vagrant (1.1 or later):
$ vagrant plugin install landrush
....

If you're using the VMware provider, you'll need the
link:https://www.vagrantup.com/vmware/index.html[Vagrant VMWare Desktop plugin].

== Getting started

. Enable the plugin in your `Vagrantfile`:
Expand Down
4 changes: 2 additions & 2 deletions lib/landrush/action/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Common
SUPPORTED_PROVIDERS = {
'VagrantPlugins::ProviderVirtualBox::Provider' => :virtualbox,
'VagrantPlugins::ProviderLibvirt::Provider' => :libvirt,
'HashiCorp::VagrantVMwarefusion::Provider' => :vmware_fusion,
'HashiCorp::VagrantVMwareDesktop::Provider' => :vmware_desktop,
'VagrantPlugins::Parallels::Provider' => :parallels,
'VagrantPlugins::HyperV::Provider' => :hyperv,
'VagrantPlugins::DockerProvider::Provider' => :docker,
Expand Down Expand Up @@ -34,7 +34,7 @@ def libvirt?
end

def vmware?
provider == :vmware_fusion
provider == :vmware_desktop
end

def parallels?
Expand Down
6 changes: 3 additions & 3 deletions lib/landrush/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class Plugin < Vagrant.plugin('2')
end

# Hooks for VMWarefusion provider
if defined?(HashiCorp::VagrantVMwarefusion)
hook.before(HashiCorp::VagrantVMwarefusion::Action::Network, pre_boot_actions)
hook.after(HashiCorp::VagrantVMwarefusion::Action::WaitForCommunicator, post_boot_actions)
if defined?(HashiCorp::VagrantVMwareDesktop)
hook.before(HashiCorp::VagrantVMwareDesktop::Action::Network, pre_boot_actions)
hook.after(HashiCorp::VagrantVMwareDesktop::Action::WaitForCommunicator, post_boot_actions)
end

# Hooks for Parallels provider
Expand Down