diff options
author | khilman <khilman@users.noreply.github.com> | 2018-12-06 16:34:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 16:34:07 -0800 |
commit | 19fe02f7a341e302e3ad560fcb4cc872f2201a5c (patch) | |
tree | 6407f8ddb682f4c66154a73462edc538318f8191 /lava-master | |
parent | 7442ca80b0f0fd125fcaf5dc34c30fd4b23341bd (diff) | |
parent | 5e382d869da96d31a21316edd6d68e444b43ecca (diff) |
Merge pull request #77 from montjoie/misc
Misc
Diffstat (limited to 'lava-master')
-rwxr-xr-x | lava-master/scripts/setup.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lava-master/scripts/setup.sh b/lava-master/scripts/setup.sh index e662a2b..34cd0a1 100755 --- a/lava-master/scripts/setup.sh +++ b/lava-master/scripts/setup.sh @@ -71,7 +71,8 @@ if [ -e /root/lava-groups ];then echo "Handle groups" echo "======================================================" GROUP_CURRENT_LIST=/tmp/group.list - lava-server manage groups list |grep '^\*' > $GROUP_CURRENT_LIST || exit 1 + lava-server manage groups list > ${GROUP_CURRENT_LIST}.raw || exit 1 + grep '^\*' ${GROUP_CURRENT_LIST}.raw > ${GROUP_CURRENT_LIST} for group in $(ls /root/lava-groups/*group) do GROUPNAME="" |