diff options
Diffstat (limited to 'bin/common-functions.sh')
-rwxr-xr-x | bin/common-functions.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/common-functions.sh b/bin/common-functions.sh index bde8f256..c8ffa620 100755 --- a/bin/common-functions.sh +++ b/bin/common-functions.sh @@ -54,16 +54,16 @@ else fi if [ -z "$MIRROR" ]; then case $HOSTNAME in - jenkins) export MIRROR=http://ftp.de.debian.org/debian ;; - bpi0|cbxi4pro0|hb0|wbq0) export MIRROR=http://ftp.de.debian.org/debian ;; - *) echo "unsupported host, exiting." ; exit 1 ;; + jenkins|profitbricks-build?-amd64) export MIRROR=http://ftp.de.debian.org/debian ;; + bpi0|cbxi4pro0|hb0|wbq0) export MIRROR=http://ftp.de.debian.org/debian ;; + *) echo "unsupported host, exiting." ; exit 1 ;; esac fi if [ -z "$http_proxy" ]; then case $HOSTNAME in - jenkins) export http_proxy="http://localhost:3128" ;; - bpi0|cbxi4pro0|hb0|wbq0) export http_proxy="http://10.0.0.15:8000/" ;; - *) echo "unsupported host, exiting." ; exit 1 ;; + jenkins|profitbricks-build1-amd64) export http_proxy="http://localhost:3128" ;; + bpi0|cbxi4pro0|hb0|wbq0) export http_proxy="http://10.0.0.15:8000/" ;; + *) echo "unsupported host, exiting." ; exit 1 ;; esac fi if [ -z "$CHROOT_BASE" ]; then |