projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Installer with option -p to install lxd images from local path
[osm/devops.git]
/
jenkins
/
common
/
install_common
diff --git
a/jenkins/common/install_common
b/jenkins/common/install_common
index
3884b0e
..
bae5b9a
100755
(executable)
--- a/
jenkins/common/install_common
+++ b/
jenkins/common/install_common
@@
-21,7
+21,7
@@
REPOSITORY_KEY="OSM%20ETSI%20Release%20Key.gpg"
REPOSITORY="stable"
REPOSITORY_BASE="http://osm-download.etsi.org/repository/osm/debian"
REPOSITORY="stable"
REPOSITORY_BASE="http://osm-download.etsi.org/repository/osm/debian"
-while getopts ":r:k:u:R:b:" o; do
+while getopts ":r:k:u:R:b:
-:
" o; do
case "${o}" in
r)
REPOSITORY=${OPTARG}
case "${o}" in
r)
REPOSITORY=${OPTARG}
@@
-38,6
+38,8
@@
while getopts ":r:k:u:R:b:" o; do
b)
## ignore branch option
;;
b)
## ignore branch option
;;
+ -)
+ ;;
esac
done
esac
done
@@
-46,4
+48,5
@@
echo $key_location
curl $key_location | apt-key add -
curl $key_location | apt-key add -
+REPOSITORY_BASE=${REPOSITORY_BASE%/}
apt-get update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO IM osmclient openvim"
apt-get update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO IM osmclient openvim"