Files
rkt/Vagrantfile
Sergiusz Urbaniak f0bed3d8bd Documentation/vagrant: use rkt binary for getting started
Currently to get started with rkt we recommend using "vagrant up". This
tries to build rkt inside a virtual machine.

This cleans up the install-vagrant.sh script to use a released version
of rkt instead.

It also removes scripts not being used any more.

Fixes #2789
2016-06-21 11:09:59 +02:00

20 lines
791 B
Ruby

Vagrant.configure('2') do |config|
config.vm.box = "ubuntu/xenial64" # Ubuntu 16.04
# fix issues with slow dns http://serverfault.com/a/595010
config.vm.provider :virtualbox do |vb, override|
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
config.vm.provider :libvirt do |libvirt, override|
libvirt.memory = 1024
end
config.vm.network "private_network", type: "dhcp"
config.vm.provision :shell, :privileged => true, :path => "scripts/install-rkt.sh"
config.vm.provision :shell, :inline => "usermod -a -G rkt-admin ubuntu"
config.vm.provision :shell, :inline => "usermod -a -G rkt ubuntu"
end