diff options
-rwxr-xr-x | lava-master/scripts/setup.sh | 3 | ||||
-rwxr-xr-x | lava-slave/scripts/setup.sh | 1 |
2 files changed, 2 insertions, 2 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="" diff --git a/lava-slave/scripts/setup.sh b/lava-slave/scripts/setup.sh index 9fbd796..e0e8322 100755 --- a/lava-slave/scripts/setup.sh +++ b/lava-slave/scripts/setup.sh @@ -11,7 +11,6 @@ if [ -z "$LAVA_MASTER_URI" ];then fi echo "Dynamic slave for $LAVA_MASTER ($LAVA_MASTER_URI)" -cd /root/lavacli LAVACLIOPTS="--uri $LAVA_MASTER_URI" # do a sort of ping for letting master to be up |