resources/machine.template in zergrush_vagrant-0.0.1 vs resources/machine.template in zergrush_vagrant-0.0.2
- old
+ new
@@ -1,9 +1,18 @@
# define the machine name
config.vm.define "<%= machine_name %>" do |<%= machine_name %>|
- <%= bridge_specifics -%>
- <%= hostonly_specifics %>
+ <%= machine_name %>.vm.box_url = "<%= basebox_path %>"
+ <%= machine_name %>.vm.box = "<%= box_name %>"
+
+<%= ssh_specifics -%>
+
+ <%= machine_name %>.vm.provider :<%= provider %> do |<%= provider %>|
+<%= provider_specifics -%>
+ end
+
+<%= networks_array -%>
<%= sync_folders_array -%>
+<%= ports_array -%>
# provisioning
tasks = JSON.parse(<%= tasks_array %>)
tasks.each { |task|
if task["type"] == "chef_client" || task["type"] == "chef_solo"
\ No newline at end of file