53 lines
987 B
Plaintext
53 lines
987 B
Plaintext
graphical
|
|
timezone Asia/Shanghai --utc
|
|
keyboard --xlayouts="us"
|
|
lang en_US.UTF-8
|
|
selinux --disabled
|
|
|
|
url --url='@url@'
|
|
|
|
network --bootproto=dhcp --device=link --ipv6=auto --activate
|
|
|
|
# Partition clearing information
|
|
# zerombr
|
|
# clearpart --all --initlabel
|
|
# ignoredisk --only-use=sda
|
|
# part /boot --fstype="xfs" --ondisk=sda --size=1024
|
|
# part swap --fstype="swap" --ondisk=sda --size=4096
|
|
# part / --fstype="xfs" --ondisk=sda --size=97278
|
|
# part /home --fstype="xfs" --ondisk=sda --size=20480
|
|
# autopart --type=lvm
|
|
%include /tmp/diskinfo
|
|
|
|
%packages
|
|
@^minimal-environment
|
|
@development
|
|
@standard
|
|
vim
|
|
wget
|
|
curl
|
|
autofs
|
|
nfs-utils
|
|
nfs4-acl-tools
|
|
sssd-nfs-idmap
|
|
%end
|
|
|
|
rootpw --plaintext admin_b101
|
|
user --name=dell --plaintext admin_b101 --gecos="dell"
|
|
reboot
|
|
|
|
%pre --interpreter=/bin/bash
|
|
curl -o /tmp/dfmt.sh @dfmt@
|
|
chmod +x /tmp/dfmt.sh
|
|
/tmp/dfmt.sh > /tmp/diskinfo
|
|
%end
|
|
|
|
%post
|
|
curl -s -o /tmp/init.sh @init@
|
|
chmod +x /tmp/init.sh
|
|
/tmp/init.sh
|
|
%end
|
|
|
|
%addon com_redhat_kdump --disable
|
|
%end
|