Sha256: 3cc3754626c8d9159e4e8f0cab1866f3147ad3cbf12e375ddc0be3839897c8df

Contents?: true

Size: 1.22 KB

Versions: 41

Compression:

Stored size: 1.22 KB

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.provider :virtualbox do |v|
    v.check_guest_additions = false
    v.functional_vboxsf     = false
  end

  if Vagrant.has_plugin?("vagrant-vbguest") then
    config.vbguest.auto_update = false
  end

  config.vm.define "<%= name %>" do |docker|
    docker.vm.box = "coreos-stable"
    docker.vm.box_url = "http://stable.release.core-os.net/amd64-usr/current/coreos_production_vagrant.json"
    docker.vm.network "private_network", type: "dhcp"
    docker.vm.hostname = "<%= name %>"
    docker.vm.provider "virtualbox" do |vb|
      vb.gui = false
      vb.customize ["modifyvm", :id, "--memory", "<%= memory %>"]
      vb.auto_nat_dns_proxy = false
      vb.customize ["modifyvm", :id, "--natdnsproxy1", "off" ]
      vb.customize ["modifyvm", :id, "--natdnshostresolver1", "off" ]
    end
    docker.vm.provision :file, :source => "<%= cloudinit %>", :destination => "/tmp/vagrantfile-user-data"
    docker.vm.provision :shell, :inline => "mv /tmp/vagrantfile-user-data /var/lib/coreos-vagrant/", :privileged => true
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
kontena-cli-0.14.7 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.14.6 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.14.5 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.14.4 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.14.3 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.14.2 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.14.1 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.14.0 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.13.4 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.13.3 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.13.2 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.13.1 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.13.0.1 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.13.0 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
central-cli-0.6.3 lib/central/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.12.3 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.12.2 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.12.1 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.12.0 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb
kontena-cli-0.11.7 lib/kontena/machine/vagrant/Vagrantfile.node.rb.erb