various fixes
[automated-distro-installer] / fai-redep
index 7c8b9dd2ea3c9e5eabb6ec899adc602c8aac28f7..4269aa3d7b1b137a0abc7406b0aeb163f0b758b4 100755 (executable)
--- a/fai-redep
+++ b/fai-redep
@@ -59,7 +59,8 @@ m() { printf "$pre %s\n"  "$*"; "$@"; }
 # i use faiserver as a dns alias, but ssh key is associated with
 # a canonical hostname and we will have ssh warning spam unless we
 # use it, so look it up just to avoid the warning spam.
-faiserver_host=$(/a/exe/chost $host) || faiserver_host=$host
+faiserver_host=$(/a/exe/chost $host)
+#  faiserver_host=$host
 
 faiserver_addr=$(host $host | sed -rn 's/^\S+ has address //p;T;q' ||:)
 if ! ip a | grep "^ *inet.\? $faiserver_addr" &>/dev/null; then