aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-01-04 08:00:55 +0000
committerPeter Mikus <pmikus@cisco.com>2021-01-04 08:19:54 +0000
commitfba165d39ede81a510796af2e2954b67d65aaede (patch)
treeff199ff810ef959acf85ff794e032876f8aeefd7
parent76ca12a64fb349bd4388a9a8ae11998cf1928768 (diff)
FIX: AWK NIC replace in case of x520
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I7d83ba048e0609d6b8623fab5c2960e48a37c023 (cherry picked from commit 3c3930b9f6f9a40d6b30f6e56e8c40279e34f650)
-rw-r--r--resources/libraries/bash/function/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh
index 2f15762da5..15b7921bb3 100644
--- a/resources/libraries/bash/function/common.sh
+++ b/resources/libraries/bash/function/common.sh
@@ -809,7 +809,7 @@ function select_tags () {
awk_nics_sub_cmd+='gsub("xxv710","25ge2p1xxv710");'
awk_nics_sub_cmd+='gsub("x710","10ge2p1x710");'
awk_nics_sub_cmd+='gsub("xl710","40ge2p1xl710");'
- awk_nics_sub_cmd+='gsub("x520","10ge2p1x520");'
+ awk_nics_sub_cmd+='gsub("x520-da2","10ge2p1x520");'
awk_nics_sub_cmd+='gsub("x553","10ge2p1x553");'
awk_nics_sub_cmd+='gsub("cx556a","10ge2p1cx556a");'
awk_nics_sub_cmd+='gsub("vic1227","10ge2p1vic1227");'