Fixes #12365 - Recognize virtual interfaces with alphanum aliases as such
We have in our lab virtual interfaces with the login of the developers (e.g eth0:roidelapluie). They are recognized as physical interface and overwrite eth0.
Expected in the foreman: eth0 phy eth0_roidelapluie virt eth0_julien virt
got: eth0_julien phy
This commit fixes that by changing the regex that checks for virtual interfaces.
(cherry picked from commit 86701faf31a16925a6c689d1bcd6630c655dada7)
Related issues
Bug #12365: app/services/fact_parser.rb does not find virtual interfaces with alphanum aliases
Fixes #12365 - Recognize virtual interfaces with alphanum aliases as such
We have in our lab virtual interfaces with the login of the developers
(e.g eth0:roidelapluie). They are recognized as physical interface and
overwrite eth0.
Expected in the foreman:
eth0 phy
eth0_roidelapluie virt
eth0_julien virt
got:
eth0_julien phy
This commit fixes that by changing the regex that checks for virtual
interfaces.
(cherry picked from commit 86701faf31a16925a6c689d1bcd6630c655dada7)