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


Chronological Thread 
  • From: Haim Ashkenazi < >
  • To:
  • Subject: [chef] Re: Re: Getting the ipaddress of a specific interface
  • Date: Sun, 14 Aug 2011 23:58:40 +0300

Hi,

On Sun, Aug 14, 2011 at 11:55 PM, Charles Sullivan < "> > wrote:
I haven't found one. I do the same thing you mentioned. 
I just got this link from irc. It seems a little cleaner the regexp:

Thanks
 

Sent from my iPhone
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



--
Haim



Archive powered by MHonArc 2.6.16.

§