
Eu quero usar box-cutter/debian77
, mas quando tento
vagrant box add box-cutter/debian77 https://atlas.hashicorp.com/box-cutter/debian77
eu recebo
Downloading box from URL: https://atlas.hashicorp.com/box-cutter/debian77
Extracting box...e: 0/s, Estimated time remaining: --:--:--)
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):
bsdtar: Error opening archive: Unrecognized archive format
o que está errado? Instalei todos os arquivadores (unar, bsdtar, bzip2,...)
Ou onde posso baixar a imagem manualmente?
Eu uso o Vagrant 1.4.3 no Ubuntu 14.10. o mesmo comando funciona em um amigo usando arch e no debian wheezy também
Responder1
Acho que o URL que você está fornecendo é de uma página da web, não de um tarball. Você só precisa fazer isso:
vagrant box add box-cutter/debian77
Responder2
Você precisa instalar uma versão mais recente do Vagrant.
Eu tentei o vagrant 1.6.5 e funciona.
Parece que 1,5 é necessário, veja:https://github.com/coreos/coreos-vagrant/issues/112#issuecomment-43425522