1

Estou tentando trazer uma box para executar como sistema de teste porem não estou tendo sucesso, estou utilizando o mac os x yosemite e já instalei o virtual box e o mesmo se encontra no seguinte caminho Applications/VirtualBox.app/ o erro que está aparecendo é o seguinte, ao executar: vagrant init ubuntu/trusty64; vagrant up --provider virtualbox executando separadamente está acontecendo o erro referente ao comando vagrant up:

  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

alguém já passou por isso.

1 Resposta 1

1

O endereço https://atlas.hashicorp.com/ubuntu/boxes/trusty32 é valido mas ele está tentando acessar via endereço IP versão 6.

No meu Yosemite funciona com o seguinte Vagrantfile:

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

:-)

8
  • ainda não deu certo olha o meu arquivo codecor.com.br/certificados/vragrant.html 4/07/2015 às 18:59
  • esse erro que está a acontecer agora. An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again. Couldn't resolve host 'cloud-images.ubuntu.com' 4/07/2015 às 19:10
  • 1
    Você está tendo problema de DNS. Abra no browser este link: cloud-images.ubuntu.com Verifique se funciona no Browser para tirar a dúvida.
    – CEPEL SOMA
    4/07/2015 às 19:14
  • Você não é obrigado a usar o Vagrant. Uma opção bem mais leve é o Docker. docker run ubuntu: trusty Já tentou com ele ?
    – CEPEL SOMA
    4/07/2015 às 19:19
  • está abrindo sim o endereço 4/07/2015 às 21:43

Você deve fazer log-in para responder a esta pergunta.

Esta não é a resposta que você está procurando? Pesquise outras perguntas com a tag .