From 43369954c3d8b684137b70d674b55592f25e6713 Mon Sep 17 00:00:00 2001 From: Georgi Djakov Date: Wed, 4 Sep 2019 15:05:07 +0300 Subject: wa: try pinging target before connecting to it Signed-off-by: Georgi Djakov --- automated/linux/workload-automation3/workload-automation.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/automated/linux/workload-automation3/workload-automation.sh b/automated/linux/workload-automation3/workload-automation.sh index 6461c78..dec2abb 100755 --- a/automated/linux/workload-automation3/workload-automation.sh +++ b/automated/linux/workload-automation3/workload-automation.sh @@ -99,6 +99,7 @@ grep "PermitRootLogin yes" /etc/ssh/sshd_config echo "root:linaro123" | chpasswd /etc/init.d/ssh restart && sleep 3 echo $(lava-target-ip) lava-target-ip >> /etc/hosts +ping -c3 lava-target-ip # Ensure that csv is enabled in result processors. if ! grep -q 'csv' ./config.yaml; then -- cgit v1.2.3