On Wed, Feb 24, 2016 at 02:50:58PM -0300, Raphael Philipe Mendes da Silva wrote: > Package: sysconfig-hardware > Version: 0.0.11 > Severity: normal > X-Debbugs-CC: brueck...@linux.vnet.ibm.com,mihaj...@linux.vnet.ibm.com > > I wanted to change the network interface name without using a custom > udev rule like 70-persistent-net.rules. > To do that, In Debian 8, I created a network interface hardware config > file (/etc/sysconfig/hardware/config-ccw-0.0.xxxx) with the following > content: > > CCWGROUP_CHANS=(0.0.xxxx 0.0.xxxy 0.0.xxxz) > QETH_PORTNAME=OSAPORT > QETH_PORTNO=0 > QETH_OPTIONS=(layer2) > INTERFACE_NAME=ethfoo > > The interface is created and is up. However the name of the > interface remains enccw0.0.xxxx >
Have you tried to create systemd network link file to assign a different name? This should be then the long-term way how to rename interface names. But I agree to correct the behavior in sysconfig-hardware for correctness. Thanks and kind regards, Hendrik