【发布时间】:2015-06-22 18:17:19
【问题描述】:
我一直在使用PuPHPet 创建虚拟开发环境。
昨天我为一个新盒子生成了一个配置文件。当我尝试使用 vagrant up 命令启动它时,我收到以下错误消息:
C:\xx>流浪
使用“virtualbox”将机器“默认”提升 provider... 这台机器的配置有错误。 请修正以下错误,然后重试:
SSH: *
private_key_path文件必须存在:P://.vagrant.d/insecure_private_key
我遇到了这个 question 并将 insecure_private_key 从 puphpet\files\dot\ssh 移动到与 Vagrantfile 所在的目录相同的目录中。但是,这会产生相同的错误。
我也对错误消息中给出的目录感到困惑;
P://.vagrant.d/insecure_private_key
为什么提到“P”驱动器?
我的 Vagrantfile 可以在here找到。
感谢有关解决此错误的任何建议。
【问题讨论】:
-
你能分享你的
Vagrantfile吗? -
已更新。
标签: ssh vagrant vagrantfile puphpet vagrant-windows