[chef] Force 'main' IP on multi-homed Chef nodes


Chronological Thread 
  • From: "Vauter, George" < >
  • To: " " < >
  • Subject: [chef] Force 'main' IP on multi-homed Chef nodes
  • Date: Thu, 7 May 2015 00:27:37 +0000
  • Accept-language: en-US
  • Authentication-results: lists.opscode.com; dkim=none (message not signed) header.d=none;
  • Inin-custom-wld: WL-D

Has anyone found a straightforward way to force Ohai to use a specific 
interface’s IP address as the “main” ip address for the Chef node?  All our 
server’s are multi-homed (have 2-3 interfaces).  Chef is currently picking 
the IP of an interface that should not be considered the main interface for 
the node.  From what I found so far, Ohai references the order of the routes 
to determine which interface IP to select…?

Thanks,
George


Archive powered by MHonArc 2.6.16.

§