1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Use the 80 port with keyserver.ubuntu.com

Use the 80 port with keyserver.ubuntu.com so it works with corporate firewalls
This commit is contained in:
Bruno Bigras 2013-04-29 15:53:50 -03:00
parent 8f81e175af
commit 5051c20833

2
Vagrantfile vendored
View file

@ -10,7 +10,7 @@ Vagrant::Config.run do |config|
config.vm.box = BOX_NAME config.vm.box = BOX_NAME
config.vm.box_url = BOX_URI config.vm.box_url = BOX_URI
# Add docker PPA key to the local repository and install docker # Add docker PPA key to the local repository and install docker
pkg_cmd = "apt-key adv --keyserver keyserver.ubuntu.com --recv-keys #{PPA_KEY}; " pkg_cmd = "apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys #{PPA_KEY}; "
pkg_cmd << "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >>/etc/apt/sources.list; " pkg_cmd << "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >>/etc/apt/sources.list; "
pkg_cmd << "apt-get update -qq; apt-get install -q -y lxc-docker" pkg_cmd << "apt-get update -qq; apt-get install -q -y lxc-docker"
if ARGV.include?("--provider=aws".downcase) if ARGV.include?("--provider=aws".downcase)