fix:installer,The installation cannot be completed on the mac (#18512)
Co-authored-by: facetosea <25808407@qq.com>
This commit is contained in:
parent
1f77b78de7
commit
a2ac7bc2ba
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue