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 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-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 07:08:23 +00:00
|
|
|
:recipes => ["vagrant_main"]
|
2010-02-10 02:16:19 +00:00
|
|
|
}
|
2010-02-02 06:14:40 +00:00
|
|
|
end
|