Re: [systemd-devel] checking predictable interface names

2015-10-19 Thread Colin Guthrie
Michał Zegan wrote on 17/10/15 20:32:
> Hello.
> On non systemd systems, or on systems with disabled ifnames, is it
> possible to somehow check what would be the interface name after rename
> by default?
> I would need this for example in case when I installed a system into a
> chroot environment, while the host is for example not a systemd system,
> and I want to configure network because I will have no other access to
> the newly installed os after reboot.

Does this work for you?

udevadm test-builtin net_id 

?

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] checking predictable interface names

2015-10-19 Thread Michał Zegan
It seems that it works, and also seems that it does not require udev 
itself to be running with support for this although i am not sure. just 
that the way of making such a test is not obvious, unfortunately.


W dniu 19.10.2015 o 16:49, Colin Guthrie pisze:

Michał Zegan wrote on 17/10/15 20:32:

Hello.
On non systemd systems, or on systems with disabled ifnames, is it
possible to somehow check what would be the interface name after rename
by default?
I would need this for example in case when I installed a system into a
chroot environment, while the host is for example not a systemd system,
and I want to configure network because I will have no other access to
the newly installed os after reboot.

Does this work for you?

udevadm test-builtin net_id 

?



___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel