[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian armhf powercycle script: support FQDNs

Holger Levsen gitlab at salsa.debian.org
Mon Apr 19 09:57:05 BST 2021



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
75e4db31 by Holger Levsen at 2021-04-19T10:56:41+02:00
reproducible Debian armhf powercycle script: support FQDNs

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/powercycle_armhf_nodes.sh


Changes:

=====================================
bin/powercycle_armhf_nodes.sh
=====================================
@@ -18,6 +18,7 @@ for i in "$@" ; do
 		virt*)		echo "Sorry, I do not know how to handle $i, skipping."
 				continue
 				;;
+		*-*)		NODE=$(echo $i | cut -d '-' -f1) ;;
 		*)		NODE=$i		;;
 	esac
 	ssh $CONSOLESERVER "cd /srv/rb/remote-power ; ./remote-power $NODE ccl"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/75e4db3165739bbc5ba5c3cdd906556133636586

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/75e4db3165739bbc5ba5c3cdd906556133636586
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20210419/f7771dea/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list