From 03ab2b2e81e6d9664de5c8253abd28324aba9167 Mon Sep 17 00:00:00 2001 From: Axel Hahn <ax2002@gmx.net> Date: Fri, 17 Mar 2023 23:33:59 +0100 Subject: [PATCH] do not force fqdn --- jobhelper.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/jobhelper.sh b/jobhelper.sh index 2d9188e..d413db4 100755 --- a/jobhelper.sh +++ b/jobhelper.sh @@ -409,10 +409,13 @@ function _getFqdn(){ exit 1 fi fi - if ! echo "$FQDN" | grep "\..*" >/dev/null; then - echo "ERROR: fqdn $FQDN does not contain a domain name. Aborting." - exit 1 - fi + + # TODO force fqdn? + # if ! echo "$FQDN" | grep "\..*" >/dev/null; then + # echo "ERROR: hostname [$FQDN] is not a fqdn and does not contain a domain name. Aborting." + # exit 1 + # fi + # echo "INFO: FQDN is [$FQDN]" } -- GitLab