re sshpass up

This commit is contained in:
minkuk 2016-09-28 11:00:28 +00:00
parent 179285083d
commit 50bdd370ae

View File

@ -3,10 +3,10 @@
#version check #version check
if grep centos /etc/*-release; then if grep centos /etc/*-release; then
echo "os : centos, use yum" echo "os : centos, use yum"
sudo apt-get install sshpass yum install sshpass
elif grep ubuntu /etc/*-release; then elif grep ubuntu /etc/*-release; then
echo "os : ubuntu, use apt-get install" echo "os : ubuntu, use apt-get install"
yum install sshpass sudo apt-get install sshpass
fi fi
# setup # setup