我在系统上设置scotch box时遇到了一些问题。我使用的操作系统是Windows 8.1 pro 64位操作系统,使用git bash。
$ vagrant --version
Vagrant 1.8.6
VirtualBox-5.1.6
从github克隆了苏格兰盒子的repo后,我做了笔记中提到的流浪。它给了我以下错误:
$ vagrant up
default: An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
SSL certificate problem: self signed certificate in certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
我尝试了不安全的选项,这给了我这个错误:
bsdtar.EXE: Error opening archive: Unrecognized archive format
我也试过重新安装vagrant和virtual box,但没有成功。
找到了另一种方法,手动添加scotch box,手动添加vagrant box,然后克隆scotch-repo。根据repo修改了vagrant文件,并执行了vagrant up。它工作得很好,但仍然在github上提出了这个问题