Created
September 6, 2014 20:36
-
-
Save tuksik/0be58eb4b53790aca690 to your computer and use it in GitHub Desktop.
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "hashicorp/precise64" | |
config.vm.hostname = 'FQDN' | |
# config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210.box" | |
config.vm.network "private_network", ip: "192.168.33.23" | |
config.vm.synced_folder "./bind", "/etc/bind", id: "vagrant-root" | |
config.vm.usable_port_range = (2200..2250) | |
config.vm.provider :virtualbox do |virtualbox| | |
virtualbox.customize ["modifyvm", :id, "--name", "bind2"] | |
virtualbox.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
virtualbox.customize ["modifyvm", :id, "--memory", "512"] | |
virtualbox.customize ["setextradata", :id, "--VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"] | |
end | |
config.ssh.username = "vagrant" | |
config.ssh.shell = "bash -l" | |
config.ssh.keep_alive = true | |
config.ssh.forward_agent = false | |
config.ssh.forward_x11 = false | |
config.vagrant.host = :detect | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment