Sha256: 3cbce6b292a4c5e7134231b479e3e8ecc88f724e1e02856498e52ab5bfa75dda

Contents?: true

Size: 988 Bytes

Versions: 45

Compression:

Stored size: 988 Bytes

Contents

#!/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

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
testlab-1.8.2 lib/testlab/providers/templates/vagrant/Vagrantfile.erb
testlab-1.8.1 lib/testlab/providers/templates/vagrant/Vagrantfile.erb
testlab-1.8.0 lib/testlab/providers/templates/vagrant/Vagrantfile.erb
testlab-1.7.1 lib/testlab/providers/templates/vagrant/Vagrantfile.erb
testlab-1.7.0 lib/testlab/providers/templates/vagrant/Vagrantfile.erb