[chef] Re: Getting the ipaddress of a specific interface


Chronological Thread 
  • From: Charles Sullivan < >
  • To: " " < >
  • Cc: " " < >
  • Subject: [chef] Re: Getting the ipaddress of a specific interface
  • Date: Sun, 14 Aug 2011 15:55:29 -0500

I haven't found one. I do the same thing you mentioned. 

Sent from my iPhone

On Aug 14, 2011, at 3:49 PM, Haim Ashkenazi < "> > wrote:

Hi

I was wondering if there's an easy way to get the ip address of a specific interface (and not just the main ip adders)? From what I've seen I can run regexp against node.network.interfaces.X.addresses.keys, if there more elegant way?

Thanks in advance
--
Haim



Archive powered by MHonArc 2.6.16.

§