interface renaming (was: Re: Moving towards NetworkManager)

Josef Wolf jw at raven.inka.de
Sat Jul 30 22:58:42 UTC 2016


On Sun, Jul 31, 2016 at 12:08:37AM +1000, Karl Auer wrote:
> Here are my interfaces on 16.04:
> 
>    kauer at kt:~$ ifconfig | grep encap | cut -d\  -f1
>    eth0
>    lo
>    wlan0
> 
> And this is all that was needed:
> 
>    kauer at kt:/etc/systemd/network$ cat 10-wlan0.link 
>    [Match]
>    MACAddress=xx:xx:xx:xx:xx:xx
> 
>    [Link]
>    Name=wlan0
> 
>    kauer at kt:/etc/systemd/network$ cat 11-eth0.link 
>    [Match]
>    MACAddress=yy:yy:yy:yy:yy:yy
> 
>    [Link]
>    Name=eth0

How do I convince d-i and netcfg to do it this way?

-- 
Josef Wolf
jw at raven.inka.de




More information about the ubuntu-users mailing list