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
changes/75/775/1
Alexander Lutay 11 years ago
parent 8c186de1af
commit 050371d14f

@ -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}')

Loading…
Cancel
Save