#!/bin/bash
## kola:
##   exclusive: false
##   # Disable on azure because of a limitation of the hv_netvsc driver
##   # there. According to [1] and [2] the driver does not provide sufficient
##   # information to systemd-udev for systemd's naming to work. It falls
##   # back to basic ethX naming.
##   platforms: "!azure"
#
# [1] https://access.redhat.com/solutions/3204751
# [2] https://github.com/Azure/WALinuxAgent/issues/1877

set -xeuo pipefail

. $KOLA_EXT_DATA/commonlib.sh

# https://github.com/coreos/fedora-coreos-config/commit/2a5c2abc796ac645d705700bf445b50d4cda8f5f
if ip link | grep -o -e " eth[0-9]:"; then
    fatal "detected eth* NIC naming on node"
fi
ok nic naming
