Skip to content

Instantly share code, notes, and snippets.

@ccollicutt
Last active December 15, 2015 10:49
Show Gist options
  • Save ccollicutt/5248449 to your computer and use it in GitHub Desktop.
Save ccollicutt/5248449 to your computer and use it in GitHub Desktop.
Vagrant + vmware fusion errors
$ vagrant --version
Vagrant version 1.1.4
$ vagrant up --provider=vmware_fusion
Bringing machine 'web' up with 'vmware_fusion' provider...
[web] Cloning Fusion VM: 'centos65fusion'. This can take some time...
[web] Verifying vmnet devices are healthy...
[web] Preparing network adapters...
[web] Starting the VMware VM...
An error occurred while executing `vmrun`, a utility for controlling
VMware machines. The command and output are below:
Command: ["start", "/Users/curtis/working/vagrant/centos6fusion/.vagrant/machines/web/vmware_fusion/vm.vmwarevm/vagrant-centos-6.4-x86_64.vmx", "nogui", {:notify=>[:stdout, :stderr]}]
Output: Error: The file is already in use
$ cat Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
#config.vm.provision :shell, :inline => "echo Hello"
config.vm.define :web do |web|
web.vm.box = "centos65fusion"
config.web.vm.network :private_network, ip: "192.168.33.10"
config.web.vm.provider :vmware_fusion do |v|
v.vmx["memsize"] = "2048"
end
end
config.vm.define :db do |db|
db.vm.box = "centos65fusion"
config.db.vm.network :private_network, ip: "192.168.33.11"
config.db.vm.provider :vmware_fusion do |v|
v.vmx["memsize"] = "2048"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment