
Я хочу использовать box-cutter/debian77
, но когда я пытаюсь
vagrant box add box-cutter/debian77 https://atlas.hashicorp.com/box-cutter/debian77
я получил
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
что не так? Я установил все архиваторы (unar, bsdtar, bzip2,...)
Или где я могу скачать изображение вручную?
Я использую Vagrant 1.4.3 на Ubuntu 14.10. Та же команда работает у друга, использующего arch, и на Debian wheezy тоже.
решение1
URL, который вы предоставляете, это, я думаю, веб-страница, а не tarball. Вам просто нужно сделать это:
vagrant box add box-cutter/debian77
решение2
Вам необходимо установить более новую версию Vagrant.
Я попробовал Vagrant 1.6.5, и он работает.
Кажется, требуется 1,5, см.:https://github.com/coreos/coreos-vagrant/issues/112#issuecomment-43425522