TT#37257 Centralise definition of info strings for different editions

Change-Id: If60d2a2c0e2423aee15007ea98f78233d847316f
changes/83/22483/2
Manuel Montecelo 8 years ago
parent 81d625fda5
commit 8f17c12b72

@ -376,8 +376,10 @@ fi
if checkBootParam ngcpce ; then
CE_EDITION=true
NGCP_INSTALLER_EDITION_STR="sip:provider: CE"
elif checkBootParam ngcppro || checkBootParam ngcpsp1 || checkBootParam ngcpsp2 ; then
PRO_EDITION=true
NGCP_INSTALLER_EDITION_STR="sip:provider: PRO"
if checkBootParam ngcpsp2 ; then
ROLE=sp2
else
@ -395,6 +397,7 @@ fi
if checkBootParam 'ngcpcrole=' ; then
CROLE=$(getBootParam ngcpcrole)
CARRIER_EDITION=true
NGCP_INSTALLER_EDITION_STR="sip:carrier"
fi
if checkBootParam "puppetenv=" ; then
@ -827,15 +830,8 @@ set_deploy_status "settings"
echo "Deployment Settings:
Install ngcp: $NGCP_INSTALLER"
if "$CARRIER_EDITION" ; then
echo " sip:carrier"
elif "$PRO_EDITION" ; then
echo " sip:provider: PRO"
elif "$CE_EDITION" ; then
echo " sip:provider: CE"
fi
Install ngcp: $NGCP_INSTALLER
$NGCP_INSTALLER_EDITION_STR"
echo "
Target disk: /dev/$DISK

Loading…
Cancel
Save