2010-02-10 07:08:23 +00:00
|
|
|
Vagrant::Config.run do |config|
|
2010-02-02 06:14:40 +00:00
|
|
|
# default config goes here
|
2010-02-10 21:59:25 +00:00
|
|
|
config.vagrant.log_output = STDOUT
|
2010-02-15 21:55:42 +00:00
|
|
|
config.vagrant.home = "~/.vagrant"
|
2010-02-10 21:59:25 +00:00
|
|
|
|
2010-02-10 07:08:23 +00:00
|
|
|
config.ssh.username = "vagrant"
|
|
|
|
config.ssh.password = "vagrant"
|
2010-02-02 06:14:40 +00:00
|
|
|
config.ssh.host = "localhost"
|
2010-02-03 08:02:12 +00:00
|
|
|
config.ssh.forwarded_port_key = "ssh"
|
2010-02-02 06:14:40 +00:00
|
|
|
config.ssh.max_tries = 10
|
|
|
|
|
2010-02-10 07:08:23 +00:00
|
|
|
config.dotfile_name = ".vagrant"
|
2010-02-02 06:14:40 +00:00
|
|
|
|
2010-02-10 07:08:23 +00:00
|
|
|
config.vm.base = "~/.vagrant/base/base.ovf"
|
2010-02-02 06:14:40 +00:00
|
|
|
config.vm.base_mac = "0800279C2E41"
|
2010-02-10 07:08:23 +00:00
|
|
|
config.vm.project_directory = "/vagrant"
|
2010-02-03 08:02:12 +00:00
|
|
|
config.vm.forward_port("ssh", 22, 2222)
|
2010-02-12 08:03:53 +00:00
|
|
|
config.vm.disk_image_format = 'VMDK'
|
|
|
|
|
|
|
|
config.package.name = 'vagrant'
|
2010-02-16 06:03:55 +00:00
|
|
|
config.package.extension = '.box'
|
2010-02-15 21:55:42 +00:00
|
|
|
config.package.delimiter = 'VAGRANT'
|
|
|
|
config.package.delimiter_regex = /(.*)#{config.package.delimiter}(.+)#{config.package.delimiter}(.*[\n\r])/
|
2010-02-09 08:31:52 +00:00
|
|
|
|
|
|
|
config.chef.cookbooks_path = "cookbooks"
|
2010-02-10 07:08:23 +00:00
|
|
|
config.chef.provisioning_path = "/tmp/vagrant-chef"
|
2010-02-10 02:16:19 +00:00
|
|
|
config.chef.json = {
|
2010-02-10 20:05:36 +00:00
|
|
|
:instance_role => "vagrant",
|
2010-02-10 07:08:23 +00:00
|
|
|
:recipes => ["vagrant_main"]
|
2010-02-10 02:16:19 +00:00
|
|
|
}
|
2010-02-12 08:03:53 +00:00
|
|
|
end
|