Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Knife ssh has the -a option. I was lucky to find Knife SSH doesn't find my nodes to tell me that it's NOT called IP, as in knife search output, but ipaddress.

I would love to know where to find the doc detailing this and a reason for this being called ipaddress instead of IP.


share|improve this question

closed as off topic by Wesley, Ward, Scott Pack, MDMarra, Ladadadada Oct 8 '12 at 12:00

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted

The listing of attribute values is available via:

knife search node "name:NODENAME" -F json

It's in the automatic attributes, eg.:

"ipaddress": "",

(More on attribute types like automatic.)

You just have to know that the output without -F json is not giving you useful attribute names for your scripting.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.