删除 'control/ks.cfg'

master
newrain001 3 months ago
parent 746e9f85d0
commit 7e6feae5ab
  1. 59
      control/ks.cfg

@ -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
Loading…
Cancel
Save