This repository has been archived by the owner on Feb 24, 2020. It is now read-only.
/ rkt Public archive
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
rkt/VagrantfileGo to file
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|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"]|
|config.vm.provider :libvirt do |libvirt, override||
|libvirt.memory = 1024|
|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"|