summaryrefslogtreecommitdiffstats
path: root/linux/bin/linux-i40e
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2023-03-30 14:26:53 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2023-03-30 14:26:53 +0000
commit5749a04f0343119cf066c4d51edbd7f597dec5bc (patch)
tree3548640e0dad632c202621945cf3548869d72b9b /linux/bin/linux-i40e
parentAdding preferred chain compatibility in deploy_cert.extra dehydrated hook. (diff)
downloadservice-tools-5749a04f0343119cf066c4d51edbd7f597dec5bc.tar.xz
service-tools-5749a04f0343119cf066c4d51edbd7f597dec5bc.zip
Excluding onboard i40e cards in linux-i40e script, as they are not configurable.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xlinux/bin/linux-i40e2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/bin/linux-i40e b/linux/bin/linux-i40e
index ffe17b3..3b46d5b 100755
--- a/linux/bin/linux-i40e
+++ b/linux/bin/linux-i40e
@@ -130,7 +130,7 @@ then
exit 1
fi
-DEVICES="$(grep -s '^DRIVER=i40e' /sys/class/net/*/device/uevent | awk -F/ '{ print $5 }' | sort -V)"
+DEVICES="$(grep -s '^DRIVER=i40e' /sys/class/net/*/device/uevent | awk -F/ '{ print $5 }' | grep -v eno | sort -V)"
if [ -z "${DEVICES}" ]
then