summaryrefslogtreecommitdiffstats
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-06-17 12:54:00 +0000
commit52ad0211e8cf111ae863f09d65da048619430e3d (patch)
tree1b465fa8ee683714a2f60653c71d2208bcadbf10
parentAlso calling pull the current branch in git-pull-branches. (diff)
downloadservice-tools-52ad0211e8cf111ae863f09d65da048619430e3d.tar.xz
service-tools-52ad0211e8cf111ae863f09d65da048619430e3d.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