Windows 11 - I had problems with Oracle VBox so I removed it. VMware Workstation Pro is installed and working fine. Here is my Vagrantfile:
Vagrant.configure("2") do |config|
config.vm.provider "vmware_desktop"
config.vm.box = "bento/rockylinux-9"
end
I always get this but I’ve removed and destroyed all boxes:
>vagrant up
The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:
Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.
Vagrant uses the `VBoxManage` binary that ships with VirtualBox, and requires
this to be available on the PATH. If VirtualBox is installed, please find the
`VBoxManage` binary and add it to the PATH environmental variable.
I get the same thing if I do " vagrant up --provider vmware_desktop", and also “vagrant destroy”. The vmware plugin seems to be installed fine:
> vagrant plugin list
vagrant-vmware-desktop (3.0.4, global)
I just signed up so I can’t upload the whole --debug file output from “vagrant up” but I see this:
DEBUG bundler: Activating gem vagrant-vmware-desktop-3.0.4
INFO manager: Loading plugins...
INFO manager: Loading plugin `vagrant-vmware-desktop` with default require: `vagrant-vmware-desktop`
INFO manager: Registered plugin: VMware Workstation Provider
DEBUG manager: Successfully loaded plugin `vagrant-vmware-desktop`.
...
...
DEBUG checkpoint_client: starting plugin check
DEBUG checkpoint_client: starting utility check
INFO warden: Calling OUT action: #<HashiCorp::VagrantVMwareDesktop::SetupPlugin:0x0616fd18>
DEBUG checkpoint_client: starting plugin check
INFO cli: CLI: [] "up" ["--provider", "vmware_desktop"]
DEBUG checkpoint_client: plugin check complete
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--provider", "vmware_desktop"]
DEBUG checkpoint_client: no information received from checkpoint
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command: -- names: ["default"]
DEBUG command: -- options: {:provider=>"vmware_desktop"}
INFO vmware_driver: VMX file:
DEBUG vagrant_utility: initialize HOST=127.0.0.1 PORT=9922
INFO command: getting active machines
DEBUG command: Finding machine that match name: default