[systemd-devel] checking predictable interface names

Colin Guthrie colin at mageia.org
Mon Oct 19 07:49:46 PDT 2015


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/


More information about the systemd-devel mailing list