lib/rzo/app/templates/Vagrantfile.erb in rzo-0.6.0 vs lib/rzo/app/templates/Vagrantfile.erb in rzo-0.7.0
- old
+ new
@@ -14,9 +14,12 @@
config.vm.define <%= nc['name'].inspect %>, autostart: false do |cfg|
cfg.vm.box = <%= nc['box'].inspect %>
cfg.vm.box_url = <%= nc['box_url'].inspect %>
cfg.vm.box_download_checksum = <%= nc['box_download_checksum'].inspect %>
cfg.vm.box_download_checksum_type = <%= nc['box_download_checksum_type'].inspect %>
+ <%- if nc['boot_timeout'] -%>
+ cfg.vm.boot_timeout = <%= nc['boot_timeout'].inspect %>
+ <%- end -%>
cfg.vm.provider :virtualbox do |vb|
vb.customize ['modifyvm', :id, '--memory', <%= nc['memory'].inspect %>]
end
cfg.vm.hostname = <%= nc['hostname'].inspect %>
cfg.vm.network 'private_network',