#!/bin/env ruby # # Auto-generated by TestLab v<%= TestLab::VERSION %> on <%= Time.now.utc %> -- DO NOT EDIT! # # Vagrant v2 Configuration ########################### Vagrant.configure("2") do |config| config.vm.define <%= @id.inspect %> do |testlab| testlab.vm.hostname = <%= @hostname.inspect %> testlab.vm.box = <%= @box.inspect %> testlab.vm.box_url = <%= @box_url.inspect %> testlab.vm.network(:private_network, :ip => <%= @ip.inspect %>) <% @synced_folders.nil? or @synced_folders.each do |synced_folder| -%> testlab.vm.synced_folder *<%= synced_folder.inspect %> <% end -%> testlab.vm.provider :virtualbox do |vb| vb.name = <%= @hostname.inspect %> vb.customize(["modifyvm", :id, "--cpus", <%= @cpus.inspect %>]) vb.customize(["modifyvm", :id, "--memory", <%= @memory.inspect %>]) end testlab.ssh.username = <%= @user.inspect %> testlab.ssh.guest_port = <%= @port.inspect %> testlab.ssh.forward_agent = true end end