Vagrant Vmware 👑

| Command | Description | |---------|-------------| | vagrant up --provider=vmware_desktop | Start VM | | vagrant ssh | SSH into VM | | vagrant halt | Shutdown VM | | vagrant reload | Reboot and apply changes | | vagrant destroy | Delete VM | | vagrant snapshot save snap1 | Take snapshot |

Vagrant supports VMware through two primary plugins: vagrant vmware

| Feature | VMware Provider | VirtualBox Provider | |---------|----------------|----------------------| | | Excellent (native) | Moderate | | Linked Clones | Yes (saves disk space) | Partial | | Snapshot speed | Very fast | Moderate | | Nested virtualization | Yes | Limited | | 3D acceleration | Yes | Limited | | Team sharing (.box) | Yes | Yes | | Cost | Commercial (license fee) | Free | | Multi-platform | Yes (Win/macOS/Linux) | Yes | type: "dhcp" end

Vagrant.configure("2") do |config| config.vm.box = "hashicorp/bionic64" config.vm.provider "vmware_desktop" do |v| v.vmx["memsize"] = "2048" v.vmx["numvcpus"] = "2" v.gui = true end config.vm.network "private_network", type: "dhcp" end vagrant vmware