#version=RHEL9
# DANGEROUS TEMPLATE: all REQUIRED values must be reviewed by the infrastructure owner.
lang zh_CN.UTF-8
keyboard us
timezone Asia/Shanghai --utc
text
reboot

network --bootproto=static --device=REQUIRED_NIC --ip=REQUIRED_IP --netmask=REQUIRED_NETMASK --gateway=REQUIRED_GATEWAY --nameserver=REQUIRED_DNS --hostname=REQUIRED_HOSTNAME --activate

rootpw --iscrypted REQUIRED_HASHED_PASSWORD
user --name=REQUIRED_ADMIN_USER --groups=wheel --password=REQUIRED_HASHED_PASSWORD --iscrypted

ignoredisk --only-use=REQUIRED_TARGET_DISK
clearpart --all --initlabel --drives=REQUIRED_TARGET_DISK
autopart --type=lvm

%packages
@^minimal-environment
curl
wget
tar
unzip
vim
chrony
%end

%post --log=/root/zhct-kickstart-post.log
systemctl enable chronyd
%end

