Created
April 5, 2014 05:08
-
-
Save monsat/9987747 to your computer and use it in GitHub Desktop.
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 : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "centos64_ja" | |
config.vm.box_url = "https://dl.dropboxusercontent.com/u/3657281/centos64_ja.box" | |
config.vm.hostname = "vagrant-test.local" | |
config.vm.network :private_network, ip: "192.168.33.70" | |
#config.vm.synced_folder "../", "/share", :nfs => true | |
config.vm.synced_folder "../", "/share", \ | |
create: true, owner: 'vagrant', group: 'vagrant', \ | |
mount_options: ['dmode=777,fmode=666'] | |
config.vm.provider :virtualbox do |vb| | |
vb.name = "vagrant3-test" | |
#vb.gui = true | |
#vb.customize ["modifyvm", :id, "--memory", 1024] | |
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"] | |
end | |
#config.vm.provision :shell, :path => "script.sh" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment