]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
update basebox url closes #5468
authorKwadroNaut <KwadroNaut@users.noreply.github.com>
Fri, 31 Oct 2014 23:49:14 +0000 (00:49 +0100)
committerKwadroNaut <KwadroNaut@users.noreply.github.com>
Fri, 31 Oct 2014 23:49:14 +0000 (00:49 +0100)
By using 'wheezy' instead of Debian in the url and box name, this is less confusing. At the same time, this makes it easier to support jessie boxes in the near future. The subdirectory virtualbox is to differentiate with the libvirt ones.

lib/leap_cli/commands/vagrant.rb

index 24310e21d1f5132377861e30a1bd6da0d0dde701..52191615cd95062bf98e0fb28be8846b9d728fc8 100644 (file)
@@ -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 = "https://downloads.leap.se/platform/leap-debian.box"]
+            lines << %[    config.vm.box_url = "https://downloads.leap.se/platform/vagrant/virtualbox/leap-wheezy.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 = "https://downloads.leap.se/platform/leap-debian.box"]
+            lines << %[    config.vm.box_url = "https://downloads.leap.se/platform/vagrant/virtualbox/leap-wheezy.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"]]