From d534dd4a420d048d52f2c1c394a29ddc67f8f9c1 Mon Sep 17 00:00:00 2001 From: Mykola Malkov Date: Tue, 23 Oct 2018 12:29:37 +0300 Subject: [PATCH] TT#46252 Change product names in deployment scripts Change names according to official naming. Change-Id: I563485aa08edb3835644322a6f970a9d5964b6b0 --- templates/scripts/includes/deployment.sh | 8 ++++---- templates/scripts/main.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/scripts/includes/deployment.sh b/templates/scripts/includes/deployment.sh index e51b319..d795377 100755 --- a/templates/scripts/includes/deployment.sh +++ b/templates/scripts/includes/deployment.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Purpose: automatically install Debian + sip:provider platform +# Purpose: automatically install Debian + Sipwise C5 platform ################################################################################ set -e @@ -460,11 +460,11 @@ fi if checkBootParam ngcpce ; then CE_EDITION=true - NGCP_INSTALLER_EDITION_STR="sip:provider: CE" + NGCP_INSTALLER_EDITION_STR="Sipwise C5: CE" SIPWISE_APT_KEY_URL_PATH="/spce/sipwise.gpg" elif checkBootParam ngcppro || checkBootParam ngcpsp1 || checkBootParam ngcpsp2 ; then PRO_EDITION=true - NGCP_INSTALLER_EDITION_STR="sip:provider: PRO" + NGCP_INSTALLER_EDITION_STR="Sipwise C5: PRO" SIPWISE_APT_KEY_URL_PATH="/sppro/sipwise.gpg" if checkBootParam ngcpsp2 ; then ROLE=sp2 @@ -487,7 +487,7 @@ fi if checkBootParam 'ngcpcrole=' ; then CROLE=$(getBootParam ngcpcrole) CARRIER_EDITION=true - NGCP_INSTALLER_EDITION_STR="sip:carrier" + NGCP_INSTALLER_EDITION_STR="Sipwise C5: CARRIER" fi if checkBootParam "puppetenv=" ; then diff --git a/templates/scripts/main.sh b/templates/scripts/main.sh index 90d9497..3d17f2f 100755 --- a/templates/scripts/main.sh +++ b/templates/scripts/main.sh @@ -95,7 +95,7 @@ deploy() { RC=0 "${scripts_dir}/deployment.sh" || RC=$? if [ $RC -eq 0 ] ; then - if dialog --yes-label Reboot --no-label Exit --yesno "Successfully finished deployment, enjoy your sip:provider system. Reboot system now?" 0 0 ; then + if dialog --yes-label Reboot --no-label Exit --yesno "Successfully finished deployment, enjoy your Sipwise C5 system. Reboot system now?" 0 0 ; then reboot else ewarn "Not rebooting as requested, please don't forget to reboot your system." ; eend 0