vagrant/config/default.rb

38 lines
950 B
Ruby
Raw Normal View History

Vagrant.configure("2") do |config|
config.vagrant.host = :detect
config.ssh.forward_agent = false
config.ssh.forward_x11 = false
config.ssh.guest_port = 22
2013-04-08 04:51:14 +00:00
config.ssh.keep_alive = true
config.ssh.max_tries = 100
2013-02-04 19:45:22 +00:00
config.ssh.timeout = 30
config.ssh.shell = "bash -l"
2010-02-02 06:14:40 +00:00
config.ssh.default.username = "vagrant"
config.vm.usable_port_range = (2200..2250)
2010-07-24 05:06:50 +00:00
config.vm.box_url = nil
config.vm.base_mac = nil
2013-05-23 13:11:56 +00:00
config.vm.client_cert = nil
config.vm.graceful_halt_retry_count = 60
config.vm.graceful_halt_retry_interval = 1
config.vm.guest = :linux
2010-02-12 08:03:53 +00:00
# Share SSH locally by default
2013-03-02 00:31:54 +00:00
config.vm.network :forwarded_port,
guest: 22,
host: 2222,
2013-03-02 00:31:54 +00:00
id: "ssh",
auto_correct: true
# Share the root folder. This can then be overridden by
# other Vagrantfiles, if they wish.
config.vm.synced_folder ".", "/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