summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_installer.sh
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2021-02-15 11:46:59 +0000
committerIrina Gómez <irinagomez@us.es>2021-02-15 11:46:59 +0000
commitb672456506b0a32de31dd8592cd1c7e23d725a27 (patch)
treeca8cc815b944e89f8d90f759de7b33954c6acf43 /installer/opengnsys_installer.sh
parenta1080113e3ef3fc91c9aae2ce4298e2161b77bad (diff)
#1027 opengnsys_update.sh and opengnsys_installer.sh configure ogclient.
Diffstat (limited to 'installer/opengnsys_installer.sh')
-rwxr-xr-xinstaller/opengnsys_installer.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh
index 75cfbdbe..d199f908 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -1576,7 +1576,8 @@ EOT
$ENABLESERVICE; $STARTSERVICE
echoAndLog "${FUNCNAME}(): Creating ogClient config files."
- sed -i -e "s/127\.0\.0\.1/$OPENGNSYS_SERVERIP/g" \
+ sed -i -e 's/127.0.0.1/'$OPENGNSYS_SERVERIP'/' \
+ -e 's/pass'.*$'/pass\": \"'$OPENGNSYS_CLIENT_PASSWD'\"/' \
$INSTALL_TARGET/client/ogClient/cfg/ogclient.json
}