From 03f5d140383fcfa689787976614ca8d6e9fbcdb1 Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Tue, 9 Jan 2018 20:09:00 +0530 Subject: [PATCH] Adding androidAgentDownloadURL for the change-ip script --- modules/scripts/change-ip.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/scripts/change-ip.sh b/modules/scripts/change-ip.sh index 7519a2b5..705cd4e9 100644 --- a/modules/scripts/change-ip.sh +++ b/modules/scripts/change-ip.sh @@ -62,6 +62,11 @@ sed -i -e 's/"identityProvider.*/\"identityProviderUrl\"\ :\ "https\:\/\/'$val2' sed -i -e 's/"acs.*/\"acs\"\ :\ "https\:\/\/'$val2':9443\/devicemgt\/uuf\/sso\/acs\"\,/' ../repository/deployment/server/jaggeryapps/devicemgt/app/conf/app-conf.json echo "Completed!!" +#-------------------- +echo "Changing /repository/deployment/server/jaggeryapps/devicemgt/app/conf/config.json" +sed -i -e 's/"androidAgentDownloadURL.*/\"androidAgentDownloadURL\":\ "https\:\/\/\%iot.manager.host\%\:\%iot.manager.https.port\%\/devicemgt\/public\/cdmf.unit.device.type.android.type-view\/assets\/android-agent.apk\",/' ../repository/deployment/server/jaggeryapps/devicemgt/app/conf/config.json +echo "Completed!!" + #-------------------- echo "Changing /repository/deployment/server/jaggeryapps/api-store/site/conf/site.json" sed -i -e 's/"identityProvider.*/\"identityProviderURL\"\ :\ "https\:\/\/'$val2':9443\/samlsso\"\,/' ../repository/deployment/server/jaggeryapps/api-store/site/conf/site.json