ifcfg/write-ifcfg.sh: write DEVICE=$netif for VLAN

VLAN interface configuration is not bound by HWADDR but by DEVICE
master
Harald Hoyer 2017-01-18 16:22:52 +01:00
parent 05c2080e51
commit 043d8f401b
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ for netup in /tmp/net.*.did-setup ; do
if [ -n "$vlan" ] ; then
{
echo "TYPE=Vlan"
echo "NAME=\"$netif\""
echo "DEVICE=\"$netif\""
echo "VLAN=yes"
echo "PHYSDEV=\"$phydevice\""
} >> /tmp/ifcfg/ifcfg-$netif