master
11617 2 years ago
parent 2d07ab7734
commit c6cc02e36b
  1. 2
      os/get-os-init.sh
  2. 3
      os/get-pxe.sh

@ -2,7 +2,7 @@
#set -e #set -e
yum_host=10.36.176.43 yum_host=10.36.172.9
yum_host2=10.36.174.100 yum_host2=10.36.174.100
color(){ color(){
unset c unset c

@ -119,7 +119,8 @@ cat > /var/ftp/pub/ks.cfg <<EOF
%post %post
sed -i 's/#UseDNS.*/UseDNS=no/g' /etc/ssh/sshd_config sed -i 's/#UseDNS.*/UseDNS=no/g' /etc/ssh/sshd_config
#curl -s -L https://download.beyourself.org.cn/shell-project/os/get-os-init.sh | sh echo "curl -s -L https://download.beyourself.org.cn/shell-project/os/get-os-init.sh | sh" >> /etc/rc.local
chmod a+x /etc/rc.local
#yum install -y python3 python3-devel gcc #yum install -y python3 python3-devel gcc
#curl -s -L https://download.beyourself.org.cn/python-project/os/jumpserver-register.py -o /opt/jumpserver-register.py #curl -s -L https://download.beyourself.org.cn/python-project/os/jumpserver-register.py -o /opt/jumpserver-register.py
#pip3 install requests httpsig -i https://mirrors.aliyun.com/pypi/simple #pip3 install requests httpsig -i https://mirrors.aliyun.com/pypi/simple

Loading…
Cancel
Save