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

To fix the issue I had to add master.vm.box_url = "https://atlas.hashicorp.com/sparkmooc/base" to the vagrantfile file.
==> default: Loading metadata for box 'sparkmooc/base'
default: URL: https://atlas.hashicorp.com/sparkmooc/base
==> default: Adding box 'sparkmooc/base' (v0.0.7.1) for provider: virtualbox
default: Downloading: https://atlas.hashicorp.com/sparkmooc/boxes/base/versions/0.0.7.1/providers/virtualbox.box
On the box with the problem, do
vagrant box list
vagrant box remove sparkmooc/base
Maybe is something there that is causing the trouble
Can you share the output of vagrant box list
?
Thanks
master.vm.box_url parameter in the vagrantfile file (and this happens with any VM I am trying to install on this specific computer) - If master.vm.box_url is not set, vagrant will always install the precise32.box.
|
This email has been sent from a virus-free computer protected by Avast. www.avast.com |
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
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 vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/562ebc86-f42b-4c5a-b69b-6cb1de87b2fa%40googlegroups.com.