#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
url --url=$tree
# Use graphical install
text
reboot
firewall --disabled
install
# Run the Setup Agent on first boot
firstboot --disable
ignoredisk --only-use=sda
# Keyboard layouts
keyboard us
# System language
lang en_US.UTF-8
# Network information
network --bootproto=dhcp --device=em1 --ipv6=auto --activate
network --bootproto=dhcp --device=em2 --onboot=off --ipv6=auto
network --bootproto=dhcp --device=em3 --onboot=off --ipv6=auto
network --bootproto=dhcp --device=em4 --onboot=off --ipv6=auto
#network --hostname=localhost.localdomain
# Root password
rootpw --iscrypted $default_password_crypted
# System services
services --disabled="chronyd"
# System timezone
timezone Asia/Shanghai --isUtc
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel --drives=sda
# Disk partitioning information
part / --fstype="xfs" --ondisk=sda --grow --size=1
#part swap --fstype="swap" --ondisk=sda --size=1024
part swap --label=swap --hibernation
part /boot --fstype="xfs" --ondisk=sda --size=500
%packages
@^minimal
@base
@core
@development
@hardware-monitoring
@performance
@remote-system-management
%end
%post
systemctl disable NetworkManager
systemctl disable firewalld
sed -i 's#^SELINUX.*#SELINUX=disabled#g' /etc/selinux/config
%end
网友评论