aboutsummaryrefslogtreecommitdiffstats
path: root/kud/tests
diff options
context:
space:
mode:
Diffstat (limited to 'kud/tests')
-rwxr-xr-xkud/tests/multus.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/kud/tests/multus.sh b/kud/tests/multus.sh
index 4f94791f..24c5314f 100755
--- a/kud/tests/multus.sh
+++ b/kud/tests/multus.sh
@@ -41,7 +41,7 @@ NET
function generate_CRD_for_macvlan_cni {
local csar_id=$1
- local master_name=$(ssh_cluster route | grep 'default' | awk '{print $8}' |head -n 1)
+ local master_name=$(ssh_cluster ip route | grep 'default' | awk '{print $5}' |head -n 1)
_checks_args $csar_id
pushd ${CSAR_DIR}/${csar_id}
@@ -67,7 +67,7 @@ NET
function generate_CRD_for_ipvlan_cni {
local csar_id=$1
- local master_name=$(ssh_cluster route | grep 'default' | awk '{print $8}' |head -n 1)
+ local master_name=$(ssh_cluster ip route | grep 'default' | awk '{print $5}' |head -n 1)
_checks_args $csar_id
pushd ${CSAR_DIR}/${csar_id}