diff --git a/control/ks.cfg b/control/ks.cfg deleted file mode 100644 index 89c80f2..0000000 --- a/control/ks.cfg +++ /dev/null @@ -1,59 +0,0 @@ -#platform=x86, AMD64, or Intel EM64T -#version=DEVEL -# Firewall configuration -network -network --bootproto dhcp -firewall --disabled - -# Root password configuration -rootpw --plaintext 123456 -#url --url=https://mirrors.mit.edu/centos/7.9.2009/os/x86_64/ -# Use graphical install -#graphical - -# Firstboot configuration -firstboot disable - -# System keyboard -keyboard us - -# System language -lang en_US - -# SELinux configuration -selinux disabled - -# Installation logging level -logging level=info - -# System timezone -timezone Asia/Shanghai - -# System bootloader configuration -bootloader location=gpt - -# Partition clearing information -clearpart --all --initlabel - -# Disk partitioning information -part swap --asprimary --fstype="swap" --size=1024 -part /boot --fstype xfs --size=200 -part pv.01 --size=1 --grow -volgroup rootvg01 pv.01 -logvol / --fstype xfs --name=lv01 --vgname=rootvg01 --size=1 --grow - -# Reboot after installation -shutdown -%packages --ignoremissing -@core -%end - -%post -# Add local DNS resolution -rm -rf /etc/yum.repos.d/* -curl https://gitea.beyourself.org.cn/newrain001/shell-project/raw/branch/master/os/kvm-repo.sh |repo=10.35.187.67 sh -yum install -y python3 python3-devel gcc -echo "10.36.176.155 jumpserver.server" >> /etc/hosts -pip3 install requests httpsig -i https://mirrors.aliyun.com/pypi/simple -%end -