Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

Thanks!

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 professional 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.

add comment

1 Answer

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": "11.1.111.111",

(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
add comment

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