Add libjuju to SO installer
[osm/devops.git] / jenkins / SO / install
index 2adc949..e96beab 100755 (executable)
@@ -35,7 +35,7 @@ set -o nounset    # Expanding an unset variable is an error.  Variables must be
 
 ###############################################################################
 # Set up repo and version
-PLATFORM_REPOSITORY=OSM
+PLATFORM_REPOSITORY=OSM3
 PLATFORM_VERSION=5.2.0.0.71033
 
 while getopts ":P:V:h" o; do
@@ -79,6 +79,8 @@ function usage() {
 # Main block
 
 # enable the right repos
+echo "### INSTALLING RIFT platform ${PLATFORM_VERSION} from repository ${PLATFORM_REPOSITORY}"
+
 curl http://repos.riftio.com/public/xenial-riftware-public-key | apt-key add -
 curl -o /etc/apt/sources.list.d/rift.list http://buildtracker.riftio.com/repo_file/ub16/${PLATFORM_REPOSITORY}/
 
@@ -94,7 +96,7 @@ EOF
 #######################
 # temp fix
 # this is normally done by mkcontainer, but the last line is missing
-# we can take this out when we update the RIFT platform 
+# we can take this out when we update the RIFT platform
 
 cat <<EOF >>/etc/systemd/user.conf
 DefaultLimitNOFILE=65536
@@ -133,8 +135,9 @@ apt-get install -y \
     rw.core.mano-rwcal-plugin-cloudsimproxy \
     rw.core.mano-rwcal-plugin-openmano-vimconnector \
     rw.core.mano-rwcal-plugin-openstack \
-    rw.core.mano-rwcal-plugin-mock 
-
-
+    rw.core.mano-rwcal-plugin-mock
 
+# Install libjuju
+apt-get install -y python3-pip
 
+pip3 install juju