If a physical device is defined, we don't need to bind the interface to
the MAC address or something else.
unset slave
unset ethname
unset vlan
+ unset phydevice
[ -e /tmp/bond.${netif}.info ] && . /tmp/bond.${netif}.info
[ -e /tmp/team.${netif}.info ] && . /tmp/team.${netif}.info
{
echo "# Generated by dracut initrd"
echo "NAME=\"$netif\""
- interface_bind "$netif" "$macaddr"
+ [ -z "$phydevice" ] && interface_bind "$netif" "$macaddr"
echo "ONBOOT=yes"
echo "NETBOOT=yes"
echo "UUID=\"$uuid\""