From 050371d14f5135ab17e721978c740420804b1cef Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Tue, 20 Jan 2015 16:44:11 +0100 Subject: [PATCH] MT#11063 Sync with bootenv: use appropriate sipwise.gpg We have to sync deployment.sh in netscript.git and bootenv.git At the moment netscript.git uses /spce/sipwise.gpg and bootenv.git /sppro/sipwise.gpg (spce repo is missed in approx). So, lets use the same code here: /spce/ on CE and /sppro/ on PRO. Change-Id: Ida01fb110ecc90777b4adc5fe8f4bc2c684814ec --- deployment.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deployment.sh b/deployment.sh index 9712596..88890b7 100755 --- a/deployment.sh +++ b/deployment.sh @@ -138,7 +138,11 @@ loadNfsIpArray() { } install_sipwise_key() { - wget -O /etc/apt/trusted.gpg.d/sipwise.gpg http://${SIPWISE_REPO_HOST}/spce/sipwise.gpg + if "$PRO_EDITION" ; then + wget -O /etc/apt/trusted.gpg.d/sipwise.gpg http://${SIPWISE_REPO_HOST}/sppro/sipwise.gpg + else + wget -O /etc/apt/trusted.gpg.d/sipwise.gpg http://${SIPWISE_REPO_HOST}/spce/sipwise.gpg + fi md5sum_sipwise_key_expected=32a4907a7d7aabe325395ca07c531234 md5sum_sipwise_key_calculated=$(md5sum /etc/apt/trusted.gpg.d/sipwise.gpg | awk '{print $1}')