2010-02-11 08:51:21 +00:00
|
|
|
Vagrant::Config.run do |config|
|
|
|
|
# All Vagrant configuration is done here. For a detailed explanation
|
2010-03-18 00:13:19 +00:00
|
|
|
# and listing of configuration options, please view the documentation
|
2010-02-11 08:51:21 +00:00
|
|
|
# online.
|
2010-03-01 09:16:45 +00:00
|
|
|
|
|
|
|
# Every Vagrant virtual environment requires a box to build off of.
|
2010-03-18 00:13:19 +00:00
|
|
|
config.vm.box = "<%= default_box %>"
|
2010-07-31 21:20:53 +00:00
|
|
|
|
2010-08-02 00:26:37 +00:00
|
|
|
<% if !default_box_url.nil? -%>
|
|
|
|
# The url from where the 'config.vm.box' box will be fetched if it
|
|
|
|
# doesn't already exist on the user's system
|
2010-07-31 21:20:53 +00:00
|
|
|
config.vm.box_url = "<%= default_box_url %>"
|
2010-08-02 00:26:37 +00:00
|
|
|
<% end -%>
|
2010-02-11 08:51:21 +00:00
|
|
|
end
|