#!/usr/bin/env bash DESC="Configuration de base." SYSTEMS="debian-1" prepareTp() { while :; do vdn-ssh -t root@debian-1 'http_proxy=http://193.49.118.36:8080/ https_proxy=http://193.49.118.36:8080/ wget -O /tmp/r http://limos.fr' || { echo echo "IMPOSSIBLE DE http://limos.fr... retry..." echo sleep 1 } && break done vdn-ssh -t root@debian-1 ' export http_proxy=http://193.49.118.36:8080/; export https_proxy=http://193.49.118.36:8080/; [ ! -d testssl.sh ] && git clone https://github.com/drwetter/testssl.sh.git || \ echo "testssl.sh déjà présent." ' vdn-ssh -t root@debian-1 ' export http_proxy=http://193.49.118.36:8080/; export https_proxy=http://193.49.118.36:8080/; apt-get install -y webcheck ' } run() { local r setErrorHandler echoStart requireSshGuests $SYSTEMS prepareTp r=$? unsetErrorHandler echoDone return $r }