]> git.ipfire.org Git - thirdparty/dracut.git/commit
ifcfg/write-ifcfg: only write DEVICE for non-kernel names
authorHarald Hoyer <harald@redhat.com>
Fri, 24 Oct 2014 13:47:24 +0000 (15:47 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 29 Oct 2014 13:07:39 +0000 (14:07 +0100)
commitc4c24171bfbffd7bb75a75b8ceae18ce7296cac6
tree8c8f4676d529ebbfb0a1d8e274bf6b3ccd74438f
parent0630273048326cb7cc51b67f0f134b6badb7b6c7
ifcfg/write-ifcfg: only write DEVICE for non-kernel names

Rename an interface to the kernel namespace is not allowed, so don't add
DEVICE="<iface>", if HWADDR is given.

(cherry picked from commit 3947f07d93cde5e1cf0d788537e93b135d6c27b0)
modules.d/40network/net-lib.sh
modules.d/45ifcfg/write-ifcfg.sh