Skip to content

Instantly share code, notes, and snippets.

@andyshinn
Created January 31, 2015 03:43
Show Gist options
  • Select an option

  • Save andyshinn/8c88974daf8204da32f7 to your computer and use it in GitHub Desktop.

Select an option

Save andyshinn/8c88974daf8204da32f7 to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "yungsang/coreos-alpha"
config.vm.provider :virtualbox do |vb|
vb.memory = 2048
vb.cpus = 2
vb.customize ["modifyvm", :id, "--natdnsproxy1", "off"]
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "off"]
end
config.ssh.insert_key = false
config.vm.network :private_network, ip: "172.16.48.100"
config.vm.network :forwarded_port, guest: 2375, host: 2375, auto_correct: true
config.vm.network :forwarded_port, guest: 5000, host: 5000, auto_correct: true
config.vm.synced_folder "/Users", "/Users", :nfs => true, :mount_options => ['nolock,vers=3,udp']
end
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "yungsang/coreos-alpha"
config.vm.provider :virtualbox do |vb|
vb.memory = 2048
vb.cpus = 2
vb.customize ["modifyvm", :id, "--natdnsproxy1", "off"]
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "off"]
end
config.ssh.insert_key = false
config.vm.network :private_network, ip: "172.16.48.100"
config.vm.network :forwarded_port, guest: 2375, host: 2375, auto_correct: true
config.vm.network :forwarded_port, guest: 5000, host: 5000, auto_correct: true
config.vm.synced_folder "#{Dir.pwd}", "#{Dir.pwd}", type: "rsync", rsync__exclude: [".git/", ".sass-cache/"]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment