Re: [systemd-devel] Rename NIC by using dynamic MAC

2015-12-05 Thread Andrei Borzenkov
03.12.2015 19:57, Greg KH пишет: > On Thu, Dec 03, 2015 at 08:35:24AM -0800, aaron_wri...@selinc.com wrote: >>> From: Kaesbauer Michael >>> Hi, >>> >>> up to now I found no way to write an udev rule which renames a >>> specific NIC by using a MAC address that is returned by a bash >>> script. Th

Re: [systemd-devel] Rename NIC by using dynamic MAC

2015-12-03 Thread Greg KH
On Thu, Dec 03, 2015 at 08:35:24AM -0800, aaron_wri...@selinc.com wrote: > > From: Kaesbauer Michael > > Hi, > > > > up to now I found no way to write an udev rule which renames a > > specific NIC by using a MAC address that is returned by a bash > > script. The reason for getting the MAC addres

Re: [systemd-devel] Rename NIC by using dynamic MAC

2015-12-03 Thread Aaron_Wright
> From: Kaesbauer Michael > Hi, > > up to now I found no way to write an udev rule which renames a > specific NIC by using a MAC address that is returned by a bash > script. The reason for getting the MAC address by the bash script is > that the renaming NIC rule should be applied to different

Re: [systemd-devel] Rename NIC by using dynamic MAC

2015-12-03 Thread Andrei Borzenkov
03.12.2015 18:13, Kaesbauer Michael пишет: > Hi again, > > thanks for your quick reply. > > Yes, I have many machines and each of those machines can have > different number of NICs [2-4]. I want that the first NIC, at a > specific port, has always the same NIC name. > Define "first NIC". The q

Re: [systemd-devel] Rename NIC by using dynamic MAC

2015-12-03 Thread Richard Maw
On Thu, Dec 03, 2015 at 03:13:38PM +, Kaesbauer Michael wrote: > Hi again, > > thanks for your quick reply. > > Yes, I have many machines and each of those machines can have different > number of NICs [2-4]. I want that the first NIC, at a specific port, has > always the same NIC name. h

Re: [systemd-devel] Rename NIC by using dynamic MAC

2015-12-03 Thread Reindl Harald
n Reindl Harald Gesendet: Donnerstag, 3. Dezember 2015 16:19 An: systemd-devel@lists.freedesktop.org Betreff: Re: [systemd-devel] Rename NIC by using dynamic MAC Am 03.12.2015 um 16:13 schrieb Kaesbauer Michael: Yes, I have many machines and each of those machines can have different number of NIC

Re: [systemd-devel] Rename NIC by using dynamic MAC

2015-12-03 Thread Reindl Harald
Am 03.12.2015 um 16:13 schrieb Kaesbauer Michael: Yes, I have many machines and each of those machines can have different number of NICs [2-4]. I want that the first NIC, at a specific port, has always the same NIC name there is nothing like "the first NIC" because "first" depends on timing

Re: [systemd-devel] Rename NIC by using dynamic MAC

2015-12-03 Thread Kaesbauer Michael
be needed. Michael -Ursprüngliche Nachricht- Von: Richard Maw [mailto:richard@codethink.co.uk] Gesendet: Donnerstag, 3. Dezember 2015 14:55 An: Kaesbauer Michael Cc: systemd-devel@lists.freedesktop.org Betreff: Re: [systemd-devel] Rename NIC by using dynamic MAC On Thu, Dec 03, 2015

Re: [systemd-devel] Rename NIC by using dynamic MAC

2015-12-03 Thread Richard Maw
On Thu, Dec 03, 2015 at 01:25:03PM +, Kaesbauer Michael wrote: > Hi, > > up to now I found no way to write an udev rule which renames a specific NIC > by using a MAC address that is returned by a bash script. The reason for > getting the MAC address by the bash script is that the renaming NI

[systemd-devel] Rename NIC by using dynamic MAC

2015-12-03 Thread Kaesbauer Michael
Hi, up to now I found no way to write an udev rule which renames a specific NIC by using a MAC address that is returned by a bash script. The reason for getting the MAC address by the bash script is that the renaming NIC rule should be applied to different CPUs (with different MACs). Here is