Hello,

I have started an apache spark mooc 
<https://www.edx.org/course/introduction-big-data-apache-spark-uc-berkeleyx-cs100-1x>
 
@ edx.org that requires us to download a VM named sparkmooc/base (hosted @ 
hashicorp.com)

I am on windows7 x64 with Virtualbox 4.3.28 and  Vagrant 1.7.2 (all latest 
versions)

The problem is that vagrant allways installs a *precise32 *box and no thet 
required *sparkmooc/base* one (downloads files.vagrantup.com/precise32.box 
instead of https://atlas.hashicorp.com/sparkmooc/base ).

Note that this is happening only on one of my PCs (installs OK on other 
machines with the same config)

Here is the vagrant file we have to install the VM


# -*- mode: ruby -*-
# vi: set ft=ruby :

ipythonPort = 8001     # Ipython port to forward (also set in IPython 
notebook config)

Vagrant.configure(2) do |config|
  config.ssh.insert_key = true
  config.vm.define "sparkvm" do |master|
    master.vm.box = "sparkmooc/base"  
    master.vm.box_download_insecure = true
    master.vm.boot_timeout = 900
    master.vm.network :forwarded_port, host: ipythonPort, guest: ipythonPort
, auto_correct: true   # IPython port (set in notebook config)
    master.vm.network :forwarded_port, host: 4040, guest: 4040, auto_correct
: true                 # Spark UI (Driver)
    master.vm.hostname = "sparkvm"
    master.vm.usable_port_range = 4040..4090

    master.vm.provider :virtualbox do |v|
      v.name = master.vm.hostname.to_s
    end
  end
end


Here is the vagrant log while loading & installing the VM:



To fix the issue I had to add *master.vm.box_url = 
"https://atlas.hashicorp.com/sparkmooc/base"* to the vagrantfile file.

Any hint ?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to