Problem related to Vagrant when running vagrant up on mac os x

1

I'm trying to bring a box to run as test system but I'm not succeeding, I'm using mac os x yosemite and I already installed the virtual box and it is in the following path Applications/VirtualBox.app/ the error that is appearing is the following, when executing: vagrant init ubuntu/trusty64; vagrant up --provider virtualbox executing separately the error regarding the vagrant up command is happening:

  sh-3.2# vagrant up --provider virtualbox
   Bringing machine 'default' up with 'virtualbox' provider...
   ==> default: Box 'ubuntu/trusty32' could not be found. Attempting to find and install...
  default: Box Provider: virtualbox
  default: Box Version: >= 0
  ==> default: Loading metadata for box 'ubuntu/trusty32'
  default: URL: https://atlas.hashicorp.com/ubuntu/trusty32
  ==> default: Adding box 'ubuntu/trusty32' (v20150609.0.9) for provider: virtualbox
  default: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/trusty32     /versions/20150609.0.9/providers/virtualbox.box
  An error occurred while downloading the remote file. The error
  message, if any, is reproduced below. Please fix this error and try
  again.

  Failed to connect to 2001:67c:1360:8001:ffff:ffff:ffff:fffe: No route to  host

Someone has already gone through this.

    
asked by anonymous 04.07.2015 / 18:14

1 answer

1

The address https://atlas.hashicorp.com/ubuntu/boxes/trusty32 is valid but it is trying to access via IP address version 6.

In my Yosemite works with the following Vagrantfile:

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
  config.vm.box = "ubuntu/trusty32"
end

:-)

    
04.07.2015 / 18:52