From 33495cac60c3ee4109f00686d47b010b9618d05c Mon Sep 17 00:00:00 2001 From: Simon Michnowicz <simon.michnowicz@monash.edu> Date: Wed, 3 Oct 2018 12:10:14 +1000 Subject: [PATCH] file should be deleted. It is templated if and only if you want it --- roles/nhc/files/scripts/check_nat.nhc | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 roles/nhc/files/scripts/check_nat.nhc diff --git a/roles/nhc/files/scripts/check_nat.nhc b/roles/nhc/files/scripts/check_nat.nhc deleted file mode 100644 index 3da83a2b..00000000 --- a/roles/nhc/files/scripts/check_nat.nhc +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -#checks that NAT is working by pinging an external address from a compute node - -function check_nat() { -#echo ">>> Checking NAT on Compute Nodes Works >>>>>>>>>>>>>>>>>>>>>>>>>" - - -#8.8.8.8 is google -#PING_EXTERNAL="ping -c 2 8.8.8.8" -#Instead we ping license server hpclic0 which is in HPC_Ancillary_zone -PING_EXTERNAL="ping -c 2 118.138.246.208" - -$PING_EXTERNAL -RESULT=$? -if [ $RESULT -ne 0 ]; then - die 1 " $FUNCNAME ERROR on node. Can not ping external address. Command is ' ${PING_EXTERNAL} ' Please check NAT is working, or route on node is valid" - return 1 -fi -return 0 -} - - -- GitLab