diff options
-rwxr-xr-x | common/scripts/netperf-client.sh | 2 | ||||
-rw-r--r-- | openembedded/netperf-client-multinode.yaml | 2 | ||||
-rw-r--r-- | ubuntu/netperf-client-multinode.yaml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/common/scripts/netperf-client.sh b/common/scripts/netperf-client.sh index 7ab2032..288cc0f 100755 --- a/common/scripts/netperf-client.sh +++ b/common/scripts/netperf-client.sh @@ -2,7 +2,7 @@ set -x -local_ip=$(ifconfig|grep "inet addr"|grep -v "127.0.0.1"|cut -d: -f2|cut -d' ' -f1) +local_ip=$(ifconfig $1|grep "inet addr"|grep -v "127.0.0.1"|cut -d: -f2|cut -d' ' -f1) for line in `lava-group | grep server | awk '{print $1}'` ; do echo $line diff --git a/openembedded/netperf-client-multinode.yaml b/openembedded/netperf-client-multinode.yaml index 63bf425..e479d54 100644 --- a/openembedded/netperf-client-multinode.yaml +++ b/openembedded/netperf-client-multinode.yaml @@ -28,7 +28,7 @@ run: - lava-network broadcast $ETH - lava-network collect $ETH - lava-sync ready - - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-client.sh + - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-client.sh $ETH - lava-sync done parse: diff --git a/ubuntu/netperf-client-multinode.yaml b/ubuntu/netperf-client-multinode.yaml index 626822a..9f41499 100644 --- a/ubuntu/netperf-client-multinode.yaml +++ b/ubuntu/netperf-client-multinode.yaml @@ -33,7 +33,7 @@ run: - lava-network broadcast $ETH - lava-network collect $ETH - lava-sync ready - - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-client.sh + - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-client.sh $ETH - lava-sync done parse: |