[chef] Getting the ipaddress of a specific interface


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

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.

§