Install also sshpass tin centos bootstraps 90/20790/1
authorVratko Polak <vrpolak@cisco.com>
Tue, 23 Jul 2019 09:47:02 +0000 (11:47 +0200)
committerVratko Polak <vrpolak@cisco.com>
Tue, 23 Jul 2019 09:47:02 +0000 (11:47 +0200)
Perhaps not needed, but it is better to keep copied code consistent.

Change-Id: I068de028586ee6e659e91207f99c2a78ef377e3c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
bootstrap-DMM.sh
bootstrap-hc2vpp-integration-odl.sh
bootstrap-hc2vpp-integration.sh
bootstrap-hc2vpp-verify-odl.sh
bootstrap-hc2vpp-verify.sh
bootstrap-vpp-verify-nightly.sh
bootstrap-vpp-verify-semiweekly.sh
bootstrap-vpp-verify-weekly.sh

index be5010c..145d0bd 100755 (executable)
@@ -28,7 +28,7 @@ export PYTHONPATH=${SCRIPT_DIR}
 
 if [ -f "/etc/redhat-release" ]; then
     DISTRO="CENTOS"
-    sudo yum install -y python-devel python-virtualenv openssh-client
+    sudo yum install -y python-devel python-virtualenv openssh-client sshpass
     DPDK_ARTIFACTS=""
     VIRL_TOPOLOGY=$(cat ${SCRIPT_DIR}/VIRL_TOPOLOGY_CENTOS)
     VIRL_RELEASE=$(cat ${SCRIPT_DIR}/VIRL_RELEASE_CENTOS)
index 4e5b724..5272c7f 100755 (executable)
@@ -40,7 +40,7 @@ ODL=$3
 
 if [ -f "/etc/redhat-release" ]; then
     DISTRO="CENTOS"
-    sudo yum install -y python-devel python-virtualenv openssh-client
+    sudo yum install -y python-devel python-virtualenv openssh-client sshpass
     VIRL_TOPOLOGY=$(cat ${SCRIPT_DIR}/VIRL_TOPOLOGY_CENTOS)
     VIRL_RELEASE=$(cat ${SCRIPT_DIR}/VIRL_RELEASE_CENTOS)
 else
index d4f3c80..7120fdc 100755 (executable)
@@ -39,7 +39,7 @@ OS=$2
 
 if [ -f "/etc/redhat-release" ]; then
     DISTRO="CENTOS"
-    sudo yum install -y python-devel python-virtualenv openssh-client
+    sudo yum install -y python-devel python-virtualenv openssh-client sshpass
     VIRL_TOPOLOGY=$(cat ${SCRIPT_DIR}/VIRL_TOPOLOGY_CENTOS)
     VIRL_RELEASE=$(cat ${SCRIPT_DIR}/VIRL_RELEASE_CENTOS)
 else
index 3a5a4de..2c55434 100755 (executable)
@@ -39,7 +39,7 @@ ODL=$2
 
 if [ -f "/etc/redhat-release" ]; then
     DISTRO="CENTOS"
-    sudo yum install -y python-devel python-virtualenv openssh-client
+    sudo yum install -y python-devel python-virtualenv openssh-client sshpass
     VIRL_TOPOLOGY=$(cat ${SCRIPT_DIR}/VIRL_TOPOLOGY_CENTOS)
     VIRL_RELEASE=$(cat ${SCRIPT_DIR}/VIRL_RELEASE_CENTOS)
 else
index d8a772d..e6e2d8a 100755 (executable)
@@ -37,7 +37,7 @@ OS=$1
 
 if [ -f "/etc/redhat-release" ]; then
     DISTRO="CENTOS"
-    sudo yum install -y python-devel python-virtualenv openssh-client
+    sudo yum install -y python-devel python-virtualenv openssh-client sshpass
     VIRL_TOPOLOGY=$(cat ${SCRIPT_DIR}/VIRL_TOPOLOGY_CENTOS)
     VIRL_RELEASE=$(cat ${SCRIPT_DIR}/VIRL_RELEASE_CENTOS)
 else
index b5843e8..cebb669 100644 (file)
@@ -35,7 +35,7 @@ LOG_PATH="$TMPDIR"
 
 if [ -f "/etc/redhat-release" ]; then
     DISTRO="CENTOS"
-    sudo yum install -y python-devel python-virtualenv openssh-client
+    sudo yum install -y python-devel python-virtualenv openssh-client sshpass
     PACKAGE=rpm
 else
     DISTRO="UBUNTU"
index e45cc49..0902305 100644 (file)
@@ -45,7 +45,7 @@ OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\
 if [ "$OS_ID" == "centos" ]; then
     DISTRO="CENTOS"
     PACKAGE="rpm"
-    sudo yum install -y python-devel python-virtualenv openssh-client
+    sudo yum install -y python-devel python-virtualenv openssh-client sshpass
 elif [ "$OS_ID" == "ubuntu" ]; then
     DISTRO="UBUNTU"
     PACKAGE="deb"
index aad18d8..6b90a27 100644 (file)
@@ -41,7 +41,7 @@ OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\
 if [ "$OS_ID" == "centos" ]; then
     DISTRO="CENTOS"
     PACKAGE="rpm"
-    sudo yum install -y python-devel python-virtualenv openssh-client
+    sudo yum install -y python-devel python-virtualenv openssh-client sshpass
 elif [ "$OS_ID" == "ubuntu" ]; then
     DISTRO="UBUNTU"
     PACKAGE="deb"

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.