とWindows 10でchefdk
を実行しています。テストキッチンが「仮想マシンの作成」について
kitchen create
を使用することができますし、それが正常に動作しますが、私はちょうどLinuxのVMを試してみましたが、私はこのerrrorを取得してい
:
PS> kitchen create
-----> Starting Kitchen (v1.10.0)
-----> Creating <default-centos-72>...
Creating differencing disk for default-centos-72.
Created differencing disk for default-centos-72.
Checking for existing virtual machine.
Creating virtual machine for default-centos-72.
Created virtual machine for default-centos-72.
QBiA...AA== -outputformat Text ----
STDOUT:
STDERR: #< CLIXML
---- End output of c:\windows\sysnative\windowspowershell\v1.0\powershell.exe -noprofile -executionpolicy bypass -encodedcommand LgAg...AA== -outputformat Text ----
ProcessId: 18780
app_name: c:\windows\sysnative\windowspowershell\v1.0\powershell.exe
command_line: c:\windows\sysnative\windowspowershell\v1.0\powershell.exe -noprofile -executionpolicy bypass -encodedcommand LgAgAEM...BjADC0ASgBzAG8AbgAKAA== -outputformat Text
timeout: 600] on default-centos-72
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
今ではどの私は手動でssh
にすることができますVMを作成しPuTTY経由またはWindowsのopenssh経由のcmdから、なぜそれがアクセスできないかのように見えているのか分かりません。
これ
は私の.kitchen.yml
:
---
driver:
name: hyperv
parent_vhd_folder: c:\HyperV\VHDs\
parent_vhd_name: CentOS-7.vhdx
vm_switch: NAT
memory_startup_bytes: 2GB
provisioner:
name: chef_zero
transport:
password: [email protected]#
platforms:
- name: centos-7.2
suites:
- name: default
run_list:
- recipe[myrecipe::default]
attributes:
編集 - さらに詳しい情報: 私は.kitchenログが空になっているフォルダの中を見たとき、サーバは、DHCP 用に設定されている .kitche \デフォルト-のCentOS-72 .yml IDのみが一覧表示されます(thatsのは、RDPファイルと同じようにして管理者名とIPを持っていることになっている場合かわからない? 私もred888 @ .kitchen.yml
'.kitchen/logs/kitchen.log'にあるログを見ましたか? –
キッチンログはemtpy – red888
管理者モードのコマンドプロンプトで「キッチン作成」を実行していますか? –