ec2驱动程序测试厨房配置错误

时间:2017-03-11 03:46:08

标签: chef test-kitchen

我无法弄清楚为什么我在测试厨房中使用自定义AMI时出现此错误:

"Failed to complete #create action: [undefined method `username' for nil:NilClass] on image5.0_new"

这是.kitchen.yml中的平台节:

platforms:
 - name: image5.0_new
   driver:
     image_id: ami-8c5236ea
   transport:
    username: root
    ssh_key: /opscode.pem

我的驱动程序行正确,但我不知道为什么它没有看到正确的用户名...任何想法?

0 个答案:

没有答案
相关问题