Created
July 17, 2016 14:34
-
-
Save ekka21/bfe20f1cf1820ffb37c55d27ab3c7c6c to your computer and use it in GitHub Desktop.
This file contains hidden or 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.box_check_update = false | |
config.ssh.insert_key = false | |
config.vm.box = "geerlingguy/centos7" | |
config.vm.network "private_network", ip: "192.168.0.200" | |
config.vm.network "forwarded_port", guest: 80, host: 8080 | |
config.vm.network "forwarded_port", guest: 3306, host: 33060 | |
config.vm.synced_folder ".", "/vagrant", disabled: true | |
config.vm.synced_folder "/var/www/domains", "/var/www/domains", type: "nfs", :mount_option => ['actimeo=2'] | |
config.vm.provider :virtualbox do |v| | |
v.memory = 2048 | |
v.cpus = 2 | |
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
v.customize ["modifyvm", :id, "--ioapic", "on"] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment