#set $swap= $getVar('$swap', '12000')
autostep --autoscreenshot
install
url --url=$tree
# If any cobbler repo definitions were referenced in the kickstart profile, include them here.
$yum_repo_stanza
text
skipx
lang en_US.UTF-8
keyboard us
network --onboot yes --bootproto dhcp --noipv6 --nodns
rootpw --iscrypted \$6\$Qz7FvhTWfC2yTdb1\$qNF1o.fpE44l /F1ROzJ .bXRKeB4OVQ.maYCY3tMZKDS7tDLrHthIAREXZFvW1G08tOqptkLMxfvyW4wA.vPOz1
firewall --disabled
firstboot --disabled
authconfig --enableshadow --passalgo=sha512
selinux --disabled
#timezone --isUtc Asia/Shanghai
timezone --utc Asia /Shanghai
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
logging --level=info
#bootloader --append="nohz=off" --location=mbr
bootloader --location=mbr --driveorder=sda --append= "biosdevname=0 nohz=off thash_entries=1048576 rhash_entries=1048576 selinux=0"
zerombr yes
# clearpart --all --initlabel --drives=sda
clearpart --all --initlabel
# ignoredisk --only-use=sda
part / --fstype=ext4 --asprimary --size=50000 --maxsize=50000 --label=/
part swap --asprimary --size=$swap --maxsize=$swap --label=swap
part /data --fstype=xfs --grow --asprimary --size=12000 --label= /data
%pre
$SNIPPET( 'pre_install_network_config' )
# Add Pre-Installation Script here
date
%end
%packages --excludedocs --ignoremissing
@base
@core
@development
@server-policy
ftp
nc
telnet
cmake
compat-gcc-34
compat-gcc-34-c++
sgpio
libXtst
yum-plugin-priorities
koan
openssl
tengine
-lvm2
-acpid
-biosdevname
-hunspell-en
-abrt-cli
- man -pages-overrides
-blktrace
-words
-abrt-addon-kerneloops
-abrt-addon-ccpp
-bridge-utils
-nano
-mtr
-hunspell
-abrt-addon-python
- man -pages
-byacc
-indent
-diffstat
-doxygen
-intltool
-git
-ctags
-cscope
-iptables
-system-config-firewall-base
-iptables-ipv6
-system-config-firewall-tui
-subversion
%end
$SNIPPET( 'services_disable_enable' )
%post
$SNIPPET( 'post_install_network_config' )
$SNIPPET( 'env_init' )
$SNIPPET( 'kis_cobbler_api' )
$SNIPPET( 'cactirelease' )
$SNIPPET( 'kisyum_install' )
/usr/sbin/eject -rv /dev/sr * # eject P cdrom
echo 'v1.3' > ~root /VERSION
%end
# finish
reboot -- eject
|