theforeman/foreman_discovery — pull request #103 by ares (2014-11-20 11:45:33+00:00)
Title: Fixes #8422 - primary detection for non-discovered

We injected discovery way to chose primary interface to puppet fact
parser that is used also for not discovered host which are missing
discovery specific facts. Mac for such value was evaluated to nil
which matched also macaddress_lo so lo was chosen as primary
interface.