Skip to content

Commit

Permalink
fix(udev-rules): keep network device naming scheme on upgrade
Browse files Browse the repository at this point in the history
(Cherry-picked commit: 2fc6cd37e61e53333d57164eee79e90c6adcade6)

Resolves: RHEL-9480
  • Loading branch information
tblume authored and pvalena committed Oct 5, 2023
1 parent 883ad44 commit 8b78e7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules.d/95udev-rules/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ install() {
inst_rules 91-permissions.rules
# eudev rules
inst_rules 80-drivers-modprobe.rules
# legacy persistent network device name rules
[[ $hostonly ]] && inst_rules 70-persistent-net.rules

if dracut_module_included "systemd"; then
inst_multiple -o ${systemdutildir}/network/*.link
Expand Down

0 comments on commit 8b78e7f

Please sign in to comment.