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:18:22 +0000
commitb30cd862aeb257c22baf0d27bc9dabd43fc16167 (patch)
tree7dc15205608e03f1346a470126ed1ab5445c4dc5
parent8e24169bf0b89f8c96c19cdaf3f7d44151c7504b (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 0bb4eb54de..82c1fd40cb 100644
--- a/resources/libraries/bash/function/common.sh
+++ b/resources/libraries/bash/function/common.sh
@@ -807,7 +807,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");'