From 0a409958d5c3715cc4049be63f06d5d5eba62c67 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Thu, 15 Apr 2021 16:16:36 +0000
Subject: [PATCH] Connect to head.cep4.control.lofar in case of failover to
 head02. Also ignore the host key for the same reason: head can be head01 or
 head02.

---
 scripts/launch-msplots.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/launch-msplots.sh b/scripts/launch-msplots.sh
index 1eb0c7d..1aab0fe 100755
--- a/scripts/launch-msplots.sh
+++ b/scripts/launch-msplots.sh
@@ -252,7 +252,7 @@ case `hostname_fqdn` in
                     -v $HOME/.ssh:$HOME/.ssh:ro \
                     --net=host \
                     pyautoplot:$PYAUTOPLOT_TAG \
-                    '/bin/bash -c \\"report_global_status '$sas_id'; rsync -a /dev/shm/'$sas_id'/ lofarsys@head01.cep4.control.lofar:'$INSPECT_ROOT'/'$sas_id'/\\"' &
+                    '/bin/bash -c \\"report_global_status '$sas_id'; rsync -a /dev/shm/'$sas_id'/ lofarsys@head.cep4.control.lofar:'$INSPECT_ROOT'/'$sas_id'/\\"' &
                     SSH_PIDS="$SSH_PIDS $!"
                 
             done
-- 
GitLab