18870: Fix remote add
authorPeter Amstutz <peter.amstutz@curii.com>
Sun, 26 Jun 2022 23:13:24 +0000 (19:13 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Tue, 28 Jun 2022 18:20:35 +0000 (14:20 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

tools/salt-install/installer.sh

index 63db3378e962ca14d92cdf4bbc6066f8096eeab6..4d601d9bf906b16d9a954cd9eccf86f1533c7084 100755 (executable)
@@ -73,7 +73,7 @@ case "$subcmd" in
            else
                if ! ssh $NODE test -d arvados-setup.git ; then
                    ssh $NODE git init --bare arvados-setup.git
            else
                if ! ssh $NODE test -d arvados-setup.git ; then
                    ssh $NODE git init --bare arvados-setup.git
-                   git add remote $NODE $DEPLOY_USER@$NODE:arvados-setup.git
+                   git remote add $NODE $DEPLOY_USER@$NODE:arvados-setup.git
                    git push $NODE
                    ssh $NODE git clone arvados-setup.git arvados-setup
                fi
                    git push $NODE
                    ssh $NODE git clone arvados-setup.git arvados-setup
                fi