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 <syspath>

?

-- 

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

Reply via email to