From 23b5106a45e13a9248a768faaa11764375e521c2 Mon Sep 17 00:00:00 2001 From: ZhuoQinghui <1302344380@qq.com> Date: Thu, 3 Mar 2022 14:28:41 +0800 Subject: [PATCH] centos-7-init-1.1.sh --- CentOS/7/all/centos-7-init-1.1.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CentOS/7/all/centos-7-init-1.1.sh b/CentOS/7/all/centos-7-init-1.1.sh index dbf36d1..bde55c5 100644 --- a/CentOS/7/all/centos-7-init-1.1.sh +++ b/CentOS/7/all/centos-7-init-1.1.sh @@ -2,9 +2,8 @@ # curl -o init.sh https://git.zykeji.club/open/server-init/raw/master/CentOS/7/all/centos-7-init-1.1.sh && sh init.sh -read -p "是否安装Docker?(y/n)" isDocker -read -p "是否安装JDK8?(y/n)" isJDK8 - +read -r -p "是否安装Docker?(y/n)" isDocker +read -r -p "是否安装JDK8?(y/n)" isJDK8 echo "更改YUM为阿里源" mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak