Can I Run Vmware Workstation Installed Machines with Vagrant? [Closed]

I have kali linux virtual machines installed and run on vmware workstation

Now i want to run this machine using vagrant, is that possible ?

Yes You can!

You can do this by VMWare Integration Plugin, but that comes for a price.

Read more about it at Pricing & Purchase.

Once you have the License, you can then do:

vagrant plugin install vagrant-vmware-workstation

This will install the plugin.

You then need to supply License with:

vagrant plugin license vagrant-vmware-workstation ~/license.lic

Refer Official docs for more details.

Once everything is set up, you can then create a vagrantfile:

# vagrant init hashicorp/precise64

Vagrant.configure("2") do |config|
 config.vm.box = "hashicorp/precise64"
end

And then,

vagrant up --provider vmware_workstation

From Vagrant's VMWare plugin usage Docs:

The Vagrant VMware providers are used just like any other provider. Please read the general basic usage page for providers.

The value to use for the --provider flag is vmware_fusion for VMware Fusion, and vmware_workstation for VMware Workstation.

The Vagrant VMware provider does not support parallel execution at this time. Specifying the --parallel option will have no effect.

Once vmware is up, you can spin not just kali Linux, but any image you have.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest