From 460ccfeebce05d7125fedb0e767e6f909dcb853d Mon Sep 17 00:00:00 2001 From: ZhuoQinghui <1302344380@qq.com> Date: Fri, 1 Mar 2024 15:33:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20centos-7-init?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CentOS/7/all/centos-7-init | 2 ++ 1 file changed, 2 insertions(+) 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