windows 7 box 的 Kitchen Converge 因启动超时而失败

Kitchen Converge for windows 7 box failing with boot timeout

我目前正在使用测试厨房尝试将 Windows 7 机器与 VMware Fusion 融合为配置器,以最终部署厨师食谱。每次我 运行 a kitchen converge 进程挂起 "Waiting for machine to boot. This may take a few minutes" 然后由于超时而失败。当我打开 Fusion 时,我看到以下内容:

有谁知道发生了什么事吗?我一直在努力让这个 VM 融合,但一直无法启动 VM 并成功 运行ning 到我可以部署我的食谱的地步,但我没有想法。

我的.kitchen.yml:

---
driver:
  name: vagrant
  ssh:
    insert_key: false
  customize:
    cpus: 2
    memory: 4096

transport:
  name: winrm

provisioner:
  name: chef_solo

platforms:
  - name: windows-7
    driver_config:
      box: opentable/win-7-professional-i386-nocm

suites:
  - name: default
    run_list:
      - recipe[my_recipe]
    attributes:

不久前,我尝试为 Puppet 演示文稿找到一个正常的 Windows 7 Vag运行t 框,并且 运行 遇到了类似的问题。在安装 Puppet 之前,我必须 运行 一个 powershell 脚本。即便如此,我 运行 遇到了类似的问题,不得不做一些额外的工作。

我正在使用 the designerror box from Atlas. Perhaps my notes could assist you getting your environment up and running. It's Puppet, but a similar (easier?) process probably is needed for Chef: https://github.com/stark525/itbestprac-pres/tree/master/vagrant

Windows 7 个盒子通常是自家种植和拥有的,因此如果项目战争运行 承诺,您可能应该建造自己的盒子。最终,Windows 对可公开分发的 Vag运行t 盒子提出了一些挑战。

似乎 Altas 上的所有 VMware Windows 框都以某种方式配置错误。我手动构建了自己的盒子 (amarkon/windows-7-ult-n-x64),现在可以正常工作了。