Change Linux Interface Names in Template

Moderator: mike

Post Reply
jeremy
Posts: 1
Joined: Tue Apr 21, 2020 11:03 pm

Change Linux Interface Names in Template

Post by jeremy » Wed Aug 24, 2022 4:52 pm

I want to change the interface naming in Linux from using eth[0-9] etc. to something link jrp[0-9].

I can do it via the CLI by using

ip link set eth1 down
ip link set eth1 name jrp1

And that works. Is there a way to change the ".yml" file found in /opt/unetlab/html/templates/intel/linux.yml to make it permanent and automatic ?

Post Reply