Não faça vagrant
, mas de aqui , afirme que o seu comando de ter sido assim:
vagrant init hashicorp/precise32
Não
vagrant init
Então, se você perder um nome box
, mude para o que você está tentando configurar.
Eu tento executar vagrant init
e vagrant up
em um Ubuntu 17.04 recém-instalado com Virtual Box e Vagrant instalado, mas a saída para vagrant up
é:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'base' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'base' (v0) for provider: virtualbox
default: Downloading: base
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 open file /home/james/base
Não faça vagrant
, mas de aqui , afirme que o seu comando de ter sido assim:
vagrant init hashicorp/precise32
Não
vagrant init
Então, se você perder um nome box
, mude para o que você está tentando configurar.
Ah, eu sei porque não funcionou. Eu não especifiquei nada para vagrant init
.
Isso parece funcionar:
vagrant init ubuntu/zesty64
vagrant up
Sim, George também reconheceu o erro.