diff options
-rwxr-xr-x | bin/common-functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/common-functions.sh b/bin/common-functions.sh index 3ce8bcb5..02726a21 100755 --- a/bin/common-functions.sh +++ b/bin/common-functions.sh @@ -55,14 +55,14 @@ else fi if [ -z "$MIRROR" ]; then case $HOSTNAME in - jenkins|jenkins-test-vm|profitbricks-build?-amd64) export MIRROR=http://ftp.de.debian.org/debian ;; + jenkins|jenkins-test-vm|profitbricks-build*) export MIRROR=http://ftp.de.debian.org/debian ;; bbx15|bpi0|cbxi4*|hb0|wbq0|odxu4*|wbd0|rpi2*|ff2*|ff4*|opi2*) export MIRROR=http://ftp.us.debian.org/debian ;; *) echo "unsupported host, exiting." ; exit 1 ;; esac fi if [ -z "$http_proxy" ]; then case $HOSTNAME in - jenkins|jenkins-test-vm|profitbricks-build?-amd64) export http_proxy="http://localhost:3128" ;; + jenkins|jenkins-test-vm|profitbricks-build*) export http_proxy="http://localhost:3128" ;; bbx15|bpi0|cbxi4*|hb0|wbq0|odxu4*|wbd0|rpi2*|ff2*|ff4*|opi2*) export http_proxy="http://10.0.0.15:8000/" ;; *) echo "unsupported host, exiting." ; exit 1 ;; esac |