【发布时间】:2016-04-02 20:27:16
【问题描述】:
我的 google-fu 让我失望了。我需要在我的 .kitchen.yml 中添加什么才能让它增加 config.vm.boot_timeout 或我的 Vagrantfile 中的尝试次数。我的厨房汇聚几乎总是命中:
STDERR: Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
大约再过一分钟左右,我就可以毫无问题地连接了。
我已经尝试了许多我认为可能的方法,但似乎没有一个将其设置为以下所有:
driver:
name: vagrant
vm.boot_timeout: 20
vm:
boot_timeout: 20
driver_config:
require_chef_omnibus: true
vm.boot_timeout: 20
vm:
boot_timeout: 20
我需要做些什么来增加这个值?
【问题讨论】:
标签: unit-testing chef-infra vagrantfile test-kitchen