aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-12-17 13:38:45 -0800
committerelijah <elijah@riseup.net>2013-12-17 13:38:45 -0800
commit14534ad41f76d48b1df8a320076e4e42dc9425ba (patch)
tree58742328c9227621c2792f9f18b433772c1c562a /lib
parente455a57e844b38b2604ad4871cf5e609a7f5f33a (diff)
downloadleap_cli-14534ad41f76d48b1df8a320076e4e42dc9425ba.tar.gz
leap_cli-14534ad41f76d48b1df8a320076e4e42dc9425ba.tar.bz2
download vagrant box via https (closes #3334)
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/commands/vagrant.rb4
1 files 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"]]