[pve-devel] [PATCH common] support for udev-systemd-style physical interface names (like enp3s0)
Igor Vlasenko
ivlasenko at gmail.com
Wed May 11 11:53:41 CEST 2016
On Wed, May 11, 2016 at 11:57 AM, Wolfgang Bumiller
<w.bumiller at proxmox.com> wrote:
> On Mon, May 09, 2016 at 06:23:22PM +0300, Igor Vlasenko wrote:
>> I am trying to port PVE to run under ALT Linux (rpm based platform)
>> that runs udev+systemd. It has another name convention for
>> network interface names: instead of eth0, eth1...
>> they are called enp3s0, enp3s6, ...
>
> That's not the only names you can have. systemd's persistent names can be more than
> just 'enpXsY'.
> <https://github.com/systemd/systemd/blob/master/src/udev/udev-builtin-net_id.c#L29>
Ok, thank you! I'll try to rewrite the patch to include the rest.
> Really the best thing would be to not go by name at all.
would be the best, of course.
Unfortunately, I do not know the reliable method to distinguish.
I think that extending the pattens will work for now.
--
С уважением,
Игорь Власенко.
More information about the pve-devel
mailing list