Sha256: 4cc14816c304da51446843f87397108cc8387a3b1119c3fb3280d59e8e21934b

Contents?: true

Size: 822 Bytes

Versions: 7

Compression:

Stored size: 822 Bytes

Contents

    <%= machine_name %>.vm.provider :virtualbox do |virtualbox|
      <% if gui %>
      virtualbox.gui = <%= gui %>
      <% end %>
      <% if name %>
      virtualbox.name = '<%= name %>'
      <% end %>
      <% if cpus %>
      virtualbox.cpus = <%= cpus %>
      <% end %>
      <% if memory %>
      virtualbox.memory = <%= memory %>
      <% end %>
      <% if natdns %>
      virtualbox.customize ['modifyvm', :id, '--natdnshostresolver1', 'on']
      <% end %>
      <% if nicspeed %>
      virtualbox.customize ['modifyvm', :id, '--nicspeed1', '<%= nicspeed %>']
      <% end %>
      <% if cpu_cap %>
      v.customize ["modifyvm", :id, "--cpuexecutioncap", '<%= cpu_cap %>']
      <% end %>
      <% if linked_clone%>
      virtualbox.linked_clone = true if Vagrant::VERSION =~ /^1.8/
      <% end %>
    end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vagrant-invade-0.8.0 lib/vagrant-invade/module/provider/virtualbox/template.erb
vagrant-invade-0.7.0 lib/vagrant-invade/module/provider/virtualbox/template.erb
vagrant-invade-0.6.4 lib/vagrant-invade/module/provider/virtualbox/template.erb
vagrant-invade-0.6.3 lib/vagrant-invade/module/provider/virtualbox/template.erb
vagrant-invade-0.6.2 lib/vagrant-invade/module/provider/virtualbox/template.erb
vagrant-invade-0.6.1 lib/vagrant-invade/module/provider/virtualbox/template.erb
vagrant-invade-0.6.0 lib/vagrant-invade/module/provider/virtualbox/template.erb