mirror of
https://github.com/clearlinux/rkt.git
synced 2026-09-05 05:11:28 +00:00
Fix slow DNS resolution for Virtualbox
There's a known issue with virtualbox where DNS resolution is significantly delayed: https://www.virtualbox.org/ticket/13002 This was causing some of the rkt commands to timeout before completing. particularly "rkt trust"
This commit is contained in:
Vendored
+13
-3
@@ -1,5 +1,15 @@
|
||||
Vagrant.configure('2') do |config|
|
||||
config.vm.box = "ubuntu/trusty64" # Ubuntu 14.04
|
||||
config.vm.provision :shell, :privileged => false, :path => "scripts/install-go.sh"
|
||||
config.vm.provision :shell, :privileged => false, :path => "scripts/install-rocket.sh"
|
||||
# grab Ubuntu 14.04 official image
|
||||
config.vm.box = "ubuntu/trusty64" # Ubuntu 14.04
|
||||
|
||||
# fix issues with slow dns https://www.virtualbox.org/ticket/13002
|
||||
config.vm.provider :virtualbox do |vb, override|
|
||||
vb.customize ["modifyvm", :id, "--natdnsproxy1", "off"]
|
||||
end
|
||||
|
||||
# install Build Dependencies (GOLANG)
|
||||
config.vm.provision :shell, :privileged => false, :path => "scripts/install-go.sh"
|
||||
|
||||
# Install Rocket
|
||||
config.vm.provision :shell, :privileged => false, :path => "scripts/install-rocket.sh"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user