vagrant/config/default.rb

32 lines
921 B
Ruby
Raw Normal View History

Vagrant::Config.run do |config|
2010-02-02 06:14:40 +00:00
# default config goes here
config.vagrant.dotfile_name = ".vagrant"
config.vagrant.host = :detect
2011-07-21 21:55:03 +00:00
config.vagrant.ssh_session_cache = false
config.ssh.username = "vagrant"
config.ssh.host = "127.0.0.1"
config.ssh.forwarded_port_key = "ssh"
config.ssh.forwarded_port_destination = 22
config.ssh.max_tries = 100
2011-12-12 00:41:51 +00:00
config.ssh.timeout = 10
config.ssh.forward_agent = false
config.ssh.forward_x11 = false
2010-02-02 06:14:40 +00:00
config.vm.auto_port_range = (2200..2250)
2010-07-24 05:06:50 +00:00
config.vm.box_url = nil
config.vm.base_mac = nil
config.vm.forward_port("ssh", 22, 2222, :auto => true)
2011-12-21 21:37:59 +00:00
config.vm.boot_mode = "headless"
config.vm.guest = :linux
2010-02-12 08:03:53 +00:00
# Share the root folder. This can then be overridden by
# other Vagrantfiles, if they wish.
config.vm.share_folder("v-root", "/vagrant", ".")
config.nfs.map_uid = :auto
config.nfs.map_gid = :auto
config.package.name = 'package.box'
2010-02-12 08:03:53 +00:00
end