添加Vagrant.box文件失败
我想手动下载.box文件,而不是运行vagrant-box-add-ubuntu/trusty64,如中所示 我从这里下载了该文件: 当我运行vagrant box时,添加test123~/Downloads/trusty-server-cloudimg-amd64-vagrant-disk1.box,输出结果如下:添加Vagrant.box文件失败,vagrant,virtualbox,Vagrant,Virtualbox,我想手动下载.box文件,而不是运行vagrant-box-add-ubuntu/trusty64,如中所示 我从这里下载了该文件: 当我运行vagrant box时,添加test123~/Downloads/trusty-server-cloudimg-amd64-vagrant-disk1.box,输出结果如下: ==> box: Box file was not detected as metadata. Adding it directly... ==> box: Addi
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'test123' (v0) for provider:
box: Unpacking necessary files from: file:///XYZ/trusty-server-cloudimg-amd64-vagrant-disk1.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
没有进一步的错误消息如果您的vagrant版本为vagrant 1.8.7,您可以尝试此操作
sudo rm -rf /opt/vagrant/embedded/bin/curl
这对我很有用。可能是