From 14534ad41f76d48b1df8a320076e4e42dc9425ba Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 17 Dec 2013 13:38:45 -0800 Subject: download vagrant box via https (closes #3334) --- lib/leap_cli/commands/vagrant.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/leap_cli/commands/vagrant.rb b/lib/leap_cli/commands/vagrant.rb index 5248bfd..fe8dbe1 100644 --- a/lib/leap_cli/commands/vagrant.rb +++ b/lib/leap_cli/commands/vagrant.rb @@ -156,7 +156,7 @@ module LeapCli; module Commands if node.vagrant? lines << %[ config.vm.define :#{node.name} do |config|] lines << %[ config.vm.box = "leap-wheezy"] - lines << %[ config.vm.box_url = "http://download.leap.se/leap-debian.box"] + lines << %[ config.vm.box_url = "https://downloads.leap.se/leap-debian.box"] lines << %[ config.vm.network :hostonly, "#{node.ip_address}", :netmask => "#{netmask}"] lines << %[ config.vm.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]] lines << %[ config.vm.customize ["modifyvm", :id, "--name", "#{node.name}"]] @@ -170,7 +170,7 @@ module LeapCli; module Commands if node.vagrant? lines << %[ config.vm.define :#{node.name} do |config|] lines << %[ config.vm.box = "leap-wheezy"] - lines << %[ config.vm.box_url = "http://download.leap.se/leap-debian.box"] + lines << %[ config.vm.box_url = "https://downloads.leap.se/leap-debian.box"] lines << %[ config.vm.network :private_network, ip: "#{node.ip_address}"] lines << %[ config.vm.provider "virtualbox" do |v|] lines << %[ v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]] -- cgit v1.2.3