Skip to content

Instantly share code, notes, and snippets.

@ogaaaan

ogaaaan/Vagrantfile

Last active Jan 27, 2016
Embed
What would you like to do?
Vagrantfile最低限の設定
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# Vagrant box
config.vm.box = "centos67-x86_64"
# Bridged networks
config.vm.network "public_network", ip: "192.168.77.223"
# Share an additional folder
config.vm.synced_folder "./", "/home/vagrant/htdocs", mount_options: ["dmode=777,fmode=666"]
# Provisioning
config.vm.provision :shell, :path => "setup.sh"
# Disable auto update
#if Object.const_defined? 'VagrantVbguest'
# config.vbguest.auto_update = false
# config.vbguest.no_remote = true
#end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment