Windows Vagrant box添加本地文件失败
我刚刚学习了本教程:最终遇到了这个问题:Windows Vagrant box添加本地文件失败,windows,vagrant,virtualbox,Windows,Vagrant,Virtualbox,我刚刚学习了本教程:最终遇到了这个问题: h:\VagrantBoxes>vagrant box add test-server32 file:///H:/VagrantBoxes/package.box ==> box: Box file was not detected as metadata. Adding it directly... ==> box: Adding box 'test-server32' (v0) for provider: box: Unpa
h:\VagrantBoxes>vagrant box add test-server32 file:///H:/VagrantBoxes/package.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'test-server32' (v0) for provider:
box: Unpacking necessary files from: file:///H:/VagrantBoxes/package.box
box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
我使用Windows10x64、Vagrant1.8.1和VirtualBox 5.0.12
这里列出了类似的问题:,但解决方案对我不起作用 我找到了解决办法。
我试图从代码> > /Eng/bin > /CODE运行CURL,发现在我的PC上丢失了
文件://
链接传递到浏览器,它会将其解析为文件://
。然而,这两种变体都不起作用。如果您只是尝试一下:H:/vagrantbox/package.box
?@hek2mgl不幸的是,这一切都是一样的。在VagrantBoxes
目录中时,也尝试了简单的package.box
。