diff options
author | kwadronaut <kwadronaut@leap.se> | 2015-05-05 20:47:30 +0200 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-05-05 15:44:05 -0700 |
commit | 61fdf41087b480db12720df5d5beadd32992475a (patch) | |
tree | 3a663822de4c279da8287db04f0a42cfb2c407fb /lib | |
parent | 304cc961908542ec94a15cde8991d9486eeb6b22 (diff) |
Changed location of local nodes basebox to hashicorp. If you already
have local nodes, basebox will not be updated, however when adding new
local nodes, they will be checking for updates of the basebox.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/commands/vagrant.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/leap_cli/commands/vagrant.rb b/lib/leap_cli/commands/vagrant.rb index 5ad43d1..e652e8b 100644 --- a/lib/leap_cli/commands/vagrant.rb +++ b/lib/leap_cli/commands/vagrant.rb @@ -144,8 +144,7 @@ module LeapCli; module Commands manager.each_node do |node| 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/vagrant/virtualbox/leap-wheezy.box"] + lines << %[ config.vm.box = "LEAP/wheezy"] 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}"]] @@ -158,8 +157,7 @@ module LeapCli; module Commands manager.each_node do |node| 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/vagrant/virtualbox/leap-wheezy.box"] + lines << %[ config.vm.box = "LEAP/wheezy"] lines << %[ config.vm.network :private_network, ip: "#{node.ip_address}"] lines << %[ config.vm.provider "virtualbox" do |v|] lines << %[ v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]] |