Created SLES 12 SP2 ISO with SuSE Studio.
Installed the ISO with 70-persistent-net.rules file in /etc/udev/rules.d with custom names for PCI devices.
Then tried to reload the udev rules with command “udevadm control --reload-rules” followed by “udevadm trigger”.
But still in ifconfig the network interfaces have default names and not picked from rules file. This was working in SLES 11 SP4.
Tried putting file in /usr/lib/udev/rules.d, which also did not work. Removed the rules file from /usr/lib/udev/rules.d.
Now rebooted the system. Network interfaces now have the custom names defined in /etc/udev/rules.d/70-persistent-net.rules file. But IP address were not assigned although the ifcfg-* files are in /etc/sysconfig/network.
Did a “systemctl restart network” and it worked.
Is there a way to reload the udev rules without rebooting the system in SLES 12 SP2?
Thanks,
Manpreet Singh