2012-11-08 04:06:55 +00:00
|
|
|
Vagrant.configure("2") do |config|
|
2010-07-11 05:07:10 +00:00
|
|
|
config.vagrant.host = :detect
|
2010-02-10 21:59:25 +00:00
|
|
|
|
2013-04-09 04:03:51 +00:00
|
|
|
config.ssh.forward_agent = false
|
|
|
|
config.ssh.forward_x11 = false
|
2012-01-06 09:03:22 +00:00
|
|
|
config.ssh.guest_port = 22
|
2013-04-08 04:51:14 +00:00
|
|
|
config.ssh.keep_alive = true
|
2013-08-29 23:27:00 +00:00
|
|
|
config.ssh.timeout = 300
|
2012-05-23 22:30:16 +00:00
|
|
|
config.ssh.shell = "bash -l"
|
2010-02-02 06:14:40 +00:00
|
|
|
|
2013-04-09 03:50:15 +00:00
|
|
|
config.ssh.default.username = "vagrant"
|
|
|
|
|
2013-01-11 22:44:27 +00:00
|
|
|
config.vm.usable_port_range = (2200..2250)
|
2010-07-24 05:06:50 +00:00
|
|
|
config.vm.box_url = nil
|
2010-10-08 17:44:19 +00:00
|
|
|
config.vm.base_mac = nil
|
2013-08-29 23:38:02 +00:00
|
|
|
config.vm.graceful_halt_timeout = 60
|
2010-02-12 08:03:53 +00:00
|
|
|
|
2013-01-05 01:48:54 +00:00
|
|
|
# Share SSH locally by default
|
2013-03-02 00:31:54 +00:00
|
|
|
config.vm.network :forwarded_port,
|
2013-03-02 01:07:31 +00:00
|
|
|
guest: 22,
|
|
|
|
host: 2222,
|
2013-06-09 22:15:59 +00:00
|
|
|
host_ip: "127.0.0.1",
|
2013-03-02 00:31:54 +00:00
|
|
|
id: "ssh",
|
|
|
|
auto_correct: true
|
2013-01-05 01:48:54 +00:00
|
|
|
|
2010-06-04 05:19:42 +00:00
|
|
|
# Share the root folder. This can then be overridden by
|
|
|
|
# other Vagrantfiles, if they wish.
|
2013-04-10 17:48:11 +00:00
|
|
|
config.vm.synced_folder ".", "/vagrant"
|
2010-06-04 05:19:42 +00:00
|
|
|
|
2010-07-16 06:02:31 +00:00
|
|
|
config.nfs.map_uid = :auto
|
|
|
|
config.nfs.map_gid = :auto
|
|
|
|
|
2010-07-24 16:23:55 +00:00
|
|
|
config.package.name = 'package.box'
|
2010-02-12 08:03:53 +00:00
|
|
|
end
|