更新 centos-7-init
This commit is contained in:
parent
fa23a487cc
commit
460ccfeebc
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/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
|
while true; do
|
||||||
read -p "请输入要设置的主机名: " hostname
|
read -p "请输入要设置的主机名: " hostname
|
||||||
|
|
Loading…
Reference in New Issue
Block a user