From: Lonnie A. <li...@lo...> - 2025-08-27 00:26:32
|
Hi Michael, That [1] file is generated by this udev rule: -- /usr/lib/udev/rules.d/75-persistent-net-generator.rules -- Not trivial to follow, but you can see how some interfaces are skipped. For many VM guests, no [1] file is auto-generated. None of my KVM Hypervisor Guest VMs have a [1] file. Though in all cases the first interface is "eth0". I have never needed it, but you could add a manual [1] file (with specific MAC addresses) if needed. Lonnie [1] /etc/udev/rules.d/70-persistent-net.rules > On Aug 26, 2025, at 6:54 PM, Michael Knill <mic...@ip...> wrote: > > Hi All > > Im just wondering when '/etc/udev/rules.d/70-persistent-net.rules’ is created. I have Astlinux in an OpenStack VM and the NIC assignments appear to be pretty random and Im concerned that they could change on a reboot. > > I looked for this file but I could not find it: > 12810-IPCPROD-SSFE1 kd # ls -la /etc/udev/rules.d/ > total 24 > drwxrwxr-x 1 root root 120 Jul 5 2023 . > drwxrwxr-x 1 root root 80 Jul 5 2023 .. > -rw-r--r-- 1 root root 11589 Jul 5 2023 62-nut-usbups.rules > -rw-r--r-- 1 root root 753 Jul 5 2023 dahdi.rules > -rw-r--r-- 1 root root 185 Jul 5 2023 usbtty.rules > -rw-r--r-- 1 root root 531 Jul 5 2023 xpp.rules > > I thought this file was auto created as I usually have to delete it if I change NIC’s so wondering how it all works? > > Regards > Michael Knill > Managing Director > D: +61 2 6189 1360 > P: +61 2 6140 4656 > E: mic...@ip... > W: ipcsolutions.com.au > <image001.png>Smarter Business Communications > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... |