[RFE] os-net-config should add UUID to Ethernet ifcfg files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-net-config |
Triaged
|
Undecided
|
Dan Sneddon |
Bug Description
The network-
In some rare circumstances NIC names may change when upgrading the OS and changing kernel versions. By setting a UUID the ifcfg files will continue to work even if the NIC name changes.
In order to add the UUID to the ifcfg files os-net-config should call out to 'uuidgen' with the name of the interface:
$ uuidgen enp50s0
4dfc4620-
The UUID should be added to the ifcfg-enp50s0 file:
UUID=4dfc4620-
We may want to add a CLI flag which determines whether a UUID is added to ifcfg files or not.