Created
March 17, 2013 13:21
-
-
Save josefglatz/5181478 to your computer and use it in GitHub Desktop.
Vagrantfile for Vagrant 1.1.0 + VMware Fusion Pro
(Ubuntu Precise 64 Box)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.define :web do |web| | |
# Every Vagrant virtual environment requires a box to build off of. | |
web.vm.box = "precise64" | |
# The url from where the 'config.vm.box' box will be fetched if it | |
# doesn't already exist on the user's system. | |
web.vm.box_url = "http://files.vagrantup.com/precise64_vmware_fusion.box" | |
web.vm.network :private_network, ip:"10.111.5.10" | |
# VMware Fusion provider configuration | |
# VMX reference: http://www.sanbarrow.com/vmx.html | |
web.vm.provider :vmware_fusion do |v| | |
v.gui = false | |
# ram size should be multiple of 4 | |
v.vmx["memsize"] = "4096" | |
v.vmx["numvcpus"] = "2" | |
end | |
# VirtualBox provider configuration | |
#web.vm.provider :virtualbox do |vb| | |
# vb.gui = false | |
# vb.customize ["modifyvm", :id, "--memory", "4096"] | |
# vb.customize ["modifyvm", :id, "--cpus", "2"] | |
#end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment