From a85768bc86ea20129b068d2d8b00db6a38dcfce1 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 26 Jul 2017 14:51:46 +0200 Subject: [PATCH] TT#19158 Make check on debianrepo + sipwiserepo boot options more explicit checkBootParam triggers on boot option 'debianrepo' if boot option 'debianrepotransport' is set, same applies to 'sipwiserepo' vs 'sipwiserepotransport'. So be more specific about those checkBootParam checks, without having to modify the existing behavior of checkBootParam internals. Change-Id: I5622f8e96790fd19f0b0e7a0f97668c4b9b1d9f7 --- deployment.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment.sh b/deployment.sh index 6d6247d..b393de1 100644 --- a/deployment.sh +++ b/deployment.sh @@ -590,11 +590,11 @@ if checkBootParam ngcpnonwrecfg ; then RESTART_NETWORK=false fi -if checkBootParam debianrepo ; then +if checkBootParam "debianrepo " ; then DEBIAN_REPO_HOST=$(getBootParam debianrepo) fi -if checkBootParam sipwiserepo ; then +if checkBootParam "sipwiserepo " ; then SIPWISE_REPO_HOST=$(getBootParam sipwiserepo) fi