Skip to content

Instantly share code, notes, and snippets.

Created December 28, 2015 02:49
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 anonymous/446d7b5aa59164dd2bc0 to your computer and use it in GitHub Desktop.
Save anonymous/446d7b5aa59164dd2bc0 to your computer and use it in GitHub Desktop.
# 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.define "router-node", primary: true, autostart: true do |node|
node.vm.box = "centos6.6-i386"
node.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.6-i386_chef-provisionerless.box"
node.vm.hostname = "router-node"
node.vm.network "public_network", ip: "192.168.50.254", bridge: "br1"
node.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
vb.customize ["modifyvm", :id, "--audio", "none"]
vb.customize ["modifyvm", :id, "--nictype2", "Am79C973"]
vb.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"]
vb.customize ["modifyvm", :id, "--macaddress2", "00005E000101"]
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment