Vagrantの新規環境を生成しようとしていた時のエラーです。
https://normalblog.net/system/vagrant_box/
boxをaddしたので、upしようとしました。
$ 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 default: 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 /Users/username/temp/centosxx/base
「base」って何だろう?
これの対応を記録しておきます。
エラー原因はVagrantfileにbox名を記載していなかった為
そのままです。エラー原因はVagrantfileにbox名を記載していなかった為でした。デフォルトでは「base」となっていましたので、以下のように修正して、再びvagrant upしたところうまく出来ました。
config.vm.box = "BOX名"
![vagrant up error [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]](https://normalblog.net/system/wp-content/uploads/2015/11/vagrant.png)
