From: tierno Date: Thu, 11 May 2017 14:37:05 +0000 (+0200) Subject: fix issue at install-openvim.sh X-Git-Tag: v2.0.1~10 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F1810%2F1;p=osm%2Fopenvim.git fix issue at install-openvim.sh Change-Id: Id8cf3ec98ffd9a2b1a758ff2807b9526f0b52f64 Signed-off-by: tierno --- diff --git a/scripts/install-openvim.sh b/scripts/install-openvim.sh index 7fba365..3907f2d 100755 --- a/scripts/install-openvim.sh +++ b/scripts/install-openvim.sh @@ -232,8 +232,8 @@ then "#################################################################\n"\ "##### INSTALL PYTHON PACKAGES #####\n"\ "#################################################################" - [ "$_DISTRO" == "Ubuntu" ] && install_packages "python-yaml python-libvirt python-bottle python-mysqldb python-jsonschema python-paramiko python-argcomplete python-requests" - [ "$_DISTRO" == "CentOS" -o "$_DISTRO" == "Red" ] && install_packages "PyYAML libvirt-python MySQL-python python-jsonschema python-paramiko python-argcomplete python-requests" + [ "$_DISTRO" == "Ubuntu" ] && install_packages "python-yaml python-libvirt python-bottle python-mysqldb python-jsonschema python-paramiko python-argcomplete python-requests python-netaddr" + [ "$_DISTRO" == "CentOS" -o "$_DISTRO" == "Red" ] && install_packages "PyYAML libvirt-python MySQL-python python-jsonschema python-paramiko python-argcomplete python-requests python-netaddr" # The only way to install python-bottle on Centos7 is with easy_install or pip [ "$_DISTRO" == "CentOS" -o "$_DISTRO" == "Red" ] && easy_install -U bottle @@ -292,8 +292,8 @@ then fi echo -e "\n"\ - "#################################################################n"\ - "##### CONFIGURE OPENVIM CLIENT #####n"\ + "#################################################################\n"\ + "##### CONFIGURE OPENVIM CLIENT #####\n"\ "#################################################################" #creates a link at ~/bin if not configured as a service if [[ -z "$INSTALL_AS_A_SERVICE" ]] @@ -344,8 +344,8 @@ fi if [ -z "$NO_DB" ]; then echo -e "\n"\ - "#################################################################"\n"\ - "##### INSTALL DATABASE SERVER #####"\n"\ + "#################################################################\n"\ + "##### INSTALL DATABASE SERVER #####\n"\ "#################################################################" if [ -n "$QUIET_MODE" ]; then @@ -357,8 +357,8 @@ fi # [ -z "$NO_DB" ] if [[ -n "$INSTALL_AS_A_SERVICE" ]] then echo -e "\n"\ - "#################################################################"\n"\ - "##### CONFIGURE OPENVIM SERVICE #####"\n"\ + "#################################################################\n"\ + "##### CONFIGURE OPENVIM SERVICE #####\n"\ "#################################################################" ${BASEFOLDER}/scripts/install-openvim-service.sh -f ${BASEFOLDER} `[[ -z "$NOCLONE" ]] && echo "-d"`