问题环境:下载vagtant虚拟机镜像太慢问题解决
遇到问题:vagrant up报“Couldn‘t open file /path/to/base
C:\Vagrant>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.
解决方案:
1、修改:C:\Users\xxx 下的Vagrantfile文件config.vm.box参数
2、修改:虚拟机文件所在目录下的Vagrantfile文件config.vm.box参数
保持一致,不然找不到指定的名称