reproducble: fix auto-offline for osuosl nodes

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 33ea96a3
...@@ -173,7 +173,11 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then ...@@ -173,7 +173,11 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
esac esac
touch -d "$FORCE_DATE" $DUMMY_FILE touch -d "$FORCE_DATE" $DUMMY_FILE
case $NODE_ARCH in case $NODE_ARCH in
amd64) NODE="profitbricks-build${NODE_ALIAS#profitbricks}-amd64.debian.net" ;; amd64)
case "$NODE_ALIAS" in
(profitbricks*) NODE="profitbricks-build${NODE_ALIAS#profitbricks}-amd64.debian.net" ;;
(osuosl*) NODE="osuosl-build${NODE_ALIAS#osuosl}-amd64.debian.net" ;;
esac ;;
i386) NODE="profitbricks-build${NODE_ALIAS#profitbricks}-i386.debian.net" ;; i386) NODE="profitbricks-build${NODE_ALIAS#profitbricks}-i386.debian.net" ;;
arm64) NODE="codethink-sled${NODE_ALIAS#codethink}-arm64.debian.net" ;; arm64) NODE="codethink-sled${NODE_ALIAS#codethink}-arm64.debian.net" ;;
armhf) NODE="${NODE_ALIAS}-armhf-rb.debian.net" ;; armhf) NODE="${NODE_ALIAS}-armhf-rb.debian.net" ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment