Im confused by the knife ssh
command. According to the docs you can pass the -a
flag if your node does not have a FQDN or ipaddress attribute set. Also, if you want to override those attributes. I'm running this to test knife ssh
on a local VM:
$ knife ssh "role:webserver" "sudo chef-client" -x someusername -a 192.168.14.141
The error i receive:
FATAL: 1 node found, but does not have the required attribute to establish the connection. Try setting another attribute to open the connection using --attribute.
I am running Chef 11.4.0