我正在尝试使用刀引导添加windows 10作为操作系统的节点-o winrm 192.168.0.122 -x Administrator -p "——node-name node1
但是它抛出一个警告,无法验证管理员192.168.0.122 -尝试密码验证输入"@ip-address"的密码。节点基本上是一个虚拟机
使用chef-client
命令自动添加节点。在Linux中,它将是(例如):chef-client -j /etc/chef/first-boot.json
对于Windows,应该是一个类似的过程。文档注释:
On Microsoft Windows machines: The batch file that is derived from the
windows-chef-client-msi.erb bootstrap template executes the chef-client binary
with a set of initial settings stored within first-boot.json on the node.
first-boot.json is generated from the workstation as part of the initial knife
bootstrap subcommand.