Skip to content

Instantly share code, notes, and snippets.

@gin0606
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gin0606/5c1f4bb87ecabb23f597 to your computer and use it in GitHub Desktop.
Save gin0606/5c1f4bb87ecabb23f597 to your computer and use it in GitHub Desktop.
Vagrant.configure(2) do |config|
config.ssh.insert_key = false
config.vm.define :yosemite do |node|
node.vm.box = 'osx-yosemite'
node.vm.network :forwarded_port, guest: 22, host: 2001, id: "ssh"
node.vm.network :private_network, ip: "192.168.33.11"
node.vm.synced_folder ".", "/vagrant", type: "nfs", nfs: true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment