Last active
August 29, 2015 14:27
-
-
Save woakes070048/b765a5d695e4a59cc84d to your computer and use it in GitHub Desktop.
Vagrantfile for CentOS 6.5 x64
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 : | |
# 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 = "chef/centos-6.5" | |
config.vm.network "private_network", ip: "192.168.33.21" | |
config.vm.network :forwarded_port, guest: 80, host: 8080 | |
config.vm.provision :shell, :path => "install.sh" | |
config.vm.hostname = "dev.local" | |
config.vm.synced_folder ".", "/home", id: "vagrant", :nfs => false, :mount_options => ["dmode=777","fmode=666"] | |
config.ssh.insert_key = false | |
config.ssh.username = "vagrant" | |
config.ssh.password = "vagrant" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment