diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-31 14:58:11 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-31 14:58:11 +0200 |
commit | 7976b7a967b47a041bff2878c54e7c203a3fa5df (patch) | |
tree | 56646e8dd1f8c58a0d4b26b2c699e8cfcfbdb70f /bin/jenkins_node_wrapper.sh | |
parent | a36e86495081e22cf8eb6f8a23f84df2a2f280b6 (diff) | |
download | jenkins.debian.net-7976b7a967b47a041bff2878c54e7c203a3fa5df.tar.xz |
configure munin to monitor the armhf hosts via ssh+nc
Diffstat (limited to 'bin/jenkins_node_wrapper.sh')
-rwxr-xr-x | bin/jenkins_node_wrapper.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh index f96cffbe..3334d3bf 100755 --- a/bin/jenkins_node_wrapper.sh +++ b/bin/jenkins_node_wrapper.sh @@ -59,7 +59,9 @@ info "remote_host called with $*" allowed_cmds=() -if [[ "$*" =~ rebootstrap_.* ]] ; then +if [[ "$*" =~ /bin/nc\ -q\ 0\ localhost\ 4949 ]] ; then + exec nc -q 0 localhost 4949 ; croak "Exec failed"; +elif [[ "$*" =~ rebootstrap_.* ]] ; then REBOOTSTRAPSH="/srv/jenkins/bin/chroot-run.sh sid minimal ./bootstrap.sh" REBOOTSTRAPSH="$REBOOTSTRAPSH HOST_ARCH=$(echo $1 | cut -d "_" -f2)" if [[ "$*" =~ .*_debbindiff.* ]] ; then |