Include wget
This commit is contained in:
parent
7f365426dd
commit
b5c7b28445
|
@ -3176,7 +3176,7 @@ function initial_setup {
|
|||
apt-get -y remove --purge apache*
|
||||
apt-get -y dist-upgrade
|
||||
apt-get -y install ca-certificates emacs24 cpulimit
|
||||
apt-get -y install cryptsetup libgfshare-bin obnam sshpass
|
||||
apt-get -y install cryptsetup libgfshare-bin obnam sshpass wget
|
||||
|
||||
echo 'initial_setup' >> $COMPLETION_FILE
|
||||
}
|
||||
|
|
|
@ -602,7 +602,7 @@ do
|
|||
done
|
||||
|
||||
if [[ $TEST_MODE == "yes" ]]; then
|
||||
echo "rsync -ratlzv --rsh=\"/usr/bin/sshpass -p \"$REMOTE_PASSWORD\" ssh -p $REMOTE_SSH_PORT -o StrictHostKeyChecking=no\" $SERVER_DIRECTORY/backup $REMOTE_SERVER"
|
||||
echo "rsync -ratlzv --rsh=\"/usr/bin/sshpass -p '$REMOTE_PASSWORD' ssh -p $REMOTE_SSH_PORT -o StrictHostKeyChecking=no\" $SERVER_DIRECTORY/backup $REMOTE_SERVER"
|
||||
fi
|
||||
rsync -ratlzv --rsh="/usr/bin/sshpass -p \"$REMOTE_PASSWORD\" ssh -p $REMOTE_SSH_PORT -o StrictHostKeyChecking=no" $SERVER_DIRECTORY/backup $REMOTE_SERVER
|
||||
if [ ! "$?" = "0" ]; then
|
||||
|
|
Loading…
Reference in New Issue