]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
keep network device naming scheme on upgrade
authorThomas Blume <thomas.blume@suse.com>
Fri, 7 Jun 2019 13:34:09 +0000 (15:34 +0200)
committerDaniel Molkentin <daniel@molkentin.de>
Tue, 5 Nov 2019 10:37:22 +0000 (11:37 +0100)
modules.d/95udev-rules/module-setup.sh

index 4e8237bd0714b8b5d1eeebdb248fc3f3d6f64b50..580c9b763527ca4af75b75fdf76701c17e2b301c 100755 (executable)
@@ -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