fix:installer,The installation cannot be completed on the mac (#18512)

Co-authored-by: facetosea <25808407@qq.com>
This commit is contained in:
xinsheng Ren 2022-11-28 18:30:06 +08:00 committed by GitHub
parent 1f77b78de7
commit a2ac7bc2ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -205,6 +205,7 @@ function set_hostname() {
break break
else else
read -p "Please enter one hostname(must not be 'localhost'):" newHostname read -p "Please enter one hostname(must not be 'localhost'):" newHostname
break
fi fi
done done
@ -324,7 +325,9 @@ function local_fqdn_check() {
;; ;;
*) *)
set_ipAsFqdn
echo "Invalid input..." echo "Invalid input..."
break
;; ;;
esac esac
fi fi