diff options
author | Bill Peck <bpeck@redhat.com> | 2014-06-02 16:18:46 -0400 |
---|---|---|
committer | Bill Peck <bpeck@redhat.com> | 2014-06-02 16:18:46 -0400 |
commit | f631a2d4d7e0a4780b50031e6cb962602d57a7a6 (patch) | |
tree | 6cc72fb20990bab4c1a82dbf0f8836b3971e4342 /misc | |
parent | d498d31963400dc1c693428ae15729822a202beb (diff) | |
download | tests-f631a2d4d7e0a4780b50031e6cb962602d57a7a6.tar.gz tests-f631a2d4d7e0a4780b50031e6cb962602d57a7a6.tar.xz tests-f631a2d4d7e0a4780b50031e6cb962602d57a7a6.zip |
go through all ip6 interfaces
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/ipv6/info/collect.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/ipv6/info/collect.sh b/misc/ipv6/info/collect.sh index 3a451c4..0d91a6c 100755 --- a/misc/ipv6/info/collect.sh +++ b/misc/ipv6/info/collect.sh @@ -1,7 +1,9 @@ #!/bin/sh tmpfile=$(mktemp) -ip -0 -o a s $(ip -6 -o a s | grep -v lo | awk '{print $2}') > $tmpfile -ip -6 -o a s $(ip -6 -o a s | grep -v lo | awk '{print $2}') >> $tmpfile +for dev in $(ip -6 -o a s | grep -v lo | awk '{print $2}'); do + ip -0 -o a s $dev > $tmpfile + ip -6 -o a s $dev >> $tmpfile +done rstrnt-report-result --no-plugins --outputfile $tmpfile $RSTRNT_TASKNAME PASS 0 |