diff --git a/CentOS/7/all/centos-7-init b/CentOS/7/all/centos-7-init index 738bdfe..11202b2 100644 --- a/CentOS/7/all/centos-7-init +++ b/CentOS/7/all/centos-7-init @@ -1,5 +1,7 @@ #!/bin/bash +# curl -o init.sh https://git.zykeji.club/open/server-init/raw/master/CentOS/7/all/centos-7-init.sh && sh init.sh + # 循环提示用户输入要设置的主机名,直到用户正常输入 while true; do read -p "请输入要设置的主机名: " hostname