Posted at

Vagrant up 時に発生したエラーの対処法

More than 3 years have passed since last update.


$ 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

Couldn't open file /Users/***/vagrant/base

どうやら vagrant init の時に box を指定していなかったらしい.


一旦 Vagrantfile を削除してから作成しなおす.

$ rm Vagrantfile

$ vagrant init CentOS7
$ vagrant up