配置文件写入/ home / ubuntu / sudo /home/ubuntu/chef-repo/.chef/knife.rb
原文链接:https://www.f2er.com/ubuntu/349148.htmlubuntu@mychefclient:~$knife client list WARNING: No knife configuration file found ERROR: Your private key could not be loaded from /etc/chef/client.pem Check your configuration file and ensure that your private key is readable