Created
May 9, 2014 19:30
-
-
Save bbonamin/d36cc610d935161ef04e to your computer and use it in GitHub Desktop.
Vagrant VM with access to host VPN
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
Vagrant::Config.run do |config| | |
config.vm.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
config.vm.network :hostonly, "192.168.56.101" | |
config.vm.box = "base-hadoop" | |
config.vm.customize ["modifyvm", :id, "--memory", 1024, "--cpus", "1"] | |
config.vm.provision :puppet do |puppet| | |
puppet.manifests_path = "manifests" | |
puppet.manifest_file = "base-hadoop.pp" | |
puppet.module_path = "modules" | |
end | |
config.vm.define :master do |master_config| | |
master_config.vm.host_name = "master" | |
master_config.vm.forward_port 50070, 50070 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment