From: garciadeblas Date: Wed, 27 Nov 2019 14:06:06 +0000 (+0100) Subject: full_install_osm.sh: install python3-osmclient and IM dependencies X-Git-Tag: v7.0.0rc1~22 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=078f5985d9263bff393c73ee3ffdc29c14084511;p=osm%2Fdevops.git full_install_osm.sh: install python3-osmclient and IM dependencies Change-Id: I7e9d52cdb0ae350d229283f9910b194202a4ca2e Signed-off-by: garciadeblas --- diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 8384224e..819161a0 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -564,12 +564,12 @@ function install_osmclient(){ CLIENT_REPOSITORY_BASE=${REPOSITORY_BASE#"-u "} key_location=$CLIENT_REPOSITORY_BASE/$CLIENT_RELEASE/$CLIENT_REPOSITORY_KEY curl $key_location | sudo apt-key add - - sudo add-apt-repository -y "deb [arch=amd64] $CLIENT_REPOSITORY_BASE/$CLIENT_RELEASE $CLIENT_REPOSITORY osmclient" + sudo add-apt-repository -y "deb [arch=amd64] $CLIENT_REPOSITORY_BASE/$CLIENT_RELEASE $CLIENT_REPOSITORY osmclient IM" sudo apt-get update - sudo apt-get install -y python-pip - sudo -H LC_ALL=C pip install -U pip - sudo -H LC_ALL=C python -m pip install python-magic - sudo apt-get install -y python-osmclient + sudo apt-get install -y python3-pip + sudo -H LC_ALL=C python3 -m pip install -U pip + sudo -H LC_ALL=C python3 -m pip install -U python-magic + sudo apt-get install -y python3-osmclient #sed 's,OSM_SOL005=[^$]*,OSM_SOL005=True,' -i ${HOME}/.bashrc #echo 'export OSM_HOSTNAME=localhost' >> ${HOME}/.bashrc #echo 'export OSM_SOL005=True' >> ${HOME}/.bashrc