vagrant/config/default.rb

50 lines
1.6 KiB
Ruby
Raw Normal View History

Vagrant::Config.run do |config|
2010-02-02 06:14:40 +00:00
# default config goes here
config.vagrant.log_output = STDOUT
config.vagrant.dotfile_name = ".vagrant"
2010-02-15 21:55:42 +00:00
config.vagrant.home = "~/.vagrant"
config.vagrant.host = :detect
config.ssh.username = "vagrant"
2010-02-02 06:14:40 +00:00
config.ssh.host = "localhost"
config.ssh.port = 22
config.ssh.forwarded_port_key = "ssh"
2010-02-02 06:14:40 +00:00
config.ssh.max_tries = 10
config.ssh.timeout = 30
2010-03-12 09:37:45 +00:00
config.ssh.private_key_path = File.join(PROJECT_ROOT, 'keys', 'vagrant')
config.ssh.forward_agent = false
2010-02-02 06:14:40 +00:00
config.vm.auto_port_range = (2200..2250)
config.vm.box_ovf = "box.ovf"
2010-07-24 05:06:50 +00:00
config.vm.box_url = nil
2010-03-01 08:48:14 +00:00
config.vm.base_mac = "0800279C2E42"
config.vm.forward_port("ssh", 22, 2222, :auto => true)
2010-02-12 08:03:53 +00:00
config.vm.disk_image_format = 'VMDK'
config.vm.provisioner = nil
config.vm.shared_folder_uid = nil
config.vm.shared_folder_gid = nil
config.vm.boot_mode = "vrdp"
config.vm.system = :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.unison.folder_suffix = ".sync"
config.unison.script = "/tmp/vagrant-unison"
config.unison.options = "-terse -owner -group -batch"
config.unison.crontab_entry_file = "/tmp/vagrant-unison-crontab"
config.unison.log_file = "/tmp/v-unison-log-%s"
config.nfs.map_uid = :auto
config.nfs.map_gid = :auto
# TODO fix these
# config.vm.sync_opts = "-terse -group -owner -batch -silent"
# config.vm.sync_script = "/tmp/sync"
# config.vm.sync_crontab_entry_file = "/tmp/crontab-entry"
2010-05-18 08:24:59 +00:00
2010-02-12 08:03:53 +00:00
config.package.name = 'vagrant'
config.package.extension = '.box'
2010-02-12 08:03:53 +00:00
end