From 4370436c42096ecdd986483795f15fc1ca33a57f Mon Sep 17 00:00:00 2001 From: didier Date: Tue, 25 Mar 2025 00:33:01 +0100 Subject: [PATCH] modif pour officeurl --- bin/manageCloud.sh | 9 +++++---- bin/migVersProdX.sh | 2 -- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/bin/manageCloud.sh b/bin/manageCloud.sh index 479d290..ee8d822 100755 --- a/bin/manageCloud.sh +++ b/bin/manageCloud.sh @@ -120,10 +120,11 @@ firstInstall(){ } setOfficeUrl(){ - OFFICE_URL="https://${officeHost}.${domain}" - if [ ! "${site}" = "prod1" ]; then - OFFICE_URL="https://${site}-${officeHost}.${domain}" - fi + # Did le 25 mars les offices sont tous normalisé sur les serveurs https://${site}-${officeHost}.${domain} + #OFFICE_URL="https://${officeHost}.${domain}" + #if [ ! "${site}" = "prod1" ]; then + OFFICE_URL="https://${site}-${officeHost}.${domain}" + #fi occCommand "config:app:set --value $OFFICE_URL richdocuments public_wopi_url" occCommand "config:app:set --value $OFFICE_URL richdocuments wopi_url" occCommand "config:app:set --value $OFFICE_URL richdocuments disable_certificate_verification" diff --git a/bin/migVersProdX.sh b/bin/migVersProdX.sh index e214a4c..a85ca32 100755 --- a/bin/migVersProdX.sh +++ b/bin/migVersProdX.sh @@ -143,6 +143,4 @@ for orgaLong in ${Orgas}; do ${SIMU} ssh -p 2201 root@${SITE_DST}.${domain} "${KAZ_BIN_DIR}/manageCloud.sh" --officeURL "${orgaCourt}" fi - - done