Is there a mechanism built-in to CentOS 7 to configure network interfaces with the classic network scripts, while allowing for wildcards in the device name?
Something along the lines of:
... would apply to every detected device.
The use case here is that I'm building a CentOS 7 image which will be used on various hardware. Some hardware has multiple NICs, others a single NIC. Therefore, when the image boots for the first time, any pre-configured scripts in
/etc/sysconfig/network-scripts/ don't necessarily match the current device names.
The actual ifcfg script and network isn't exotic, it's a simple IPv4/DHCP network.
A couple things I'm trying to avoid (if possible):
- Changing the default interface names from udev.
Pre-configuration is the main goal here. Thanks!