Como faço para restaurar uma pasta de base ausente no caminho inicial em uma nova instalação do Ubuntu 17.04?

0

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
    
por James Ray 09.09.2017 / 02:11

2 respostas

1

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.

    
por George Udosen 09.09.2017 / 02:20
0

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.

    
por James Ray 09.09.2017 / 02:23