我正在尝试设置centos65 vegrant图像来设置我的红宝石测试厨房。但我无法创建以下错误:
c:\opscode\chefdk\bin\kitchen create default-centos65
-----> Starting Kitchen (v1.4.0)
-----> Creating <default-centos65>...
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'learningchef/centos65' is up to date...
==> default: There was a problem while downloading the metadata for your box
==> default: to check for updates. This is not an error, since it is usually due
==> default: to temporary network problems. This is just a warning. The problem
==> default: encountered was:
==> default:
==> default: Could not resolve host: (nil); Host not found
==> default:
==> default: If you want to check for box updates, verify your network connection
==> default: is valid and try again.
==> default: VirtualBox VM is already running.
Waiting for SSH service on 127.0.0.1:2201, retrying in 3 seconds
Waiting for SSH service on 127.0.0.1:2201, retrying in 3 seconds
知道这是什么问题吗?
答案 0 :(得分:0)
你收到了消息:
=> default: VirtualBox VM is already running
所以它已经被创建了。你应该能够验证并有类似的东西
$ kitchen list
Instance Driver Provisioner Last Action
default-centos65 Vagrant ChefSolo Created
你应该可以运行
$ kitchen login
审核虚拟机中的内容