2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-24 05:11:12 +00:00
Files
xcat-core/xCAT-server/share/xcat/install/rh/compute.rhels8.tmpl
Gᴏɴɢ Jie 202e6d1ec3 Draft compute.rhels8.tmpl for RHEL8 Alpha Base OS (#5341)
Draft compute.rhels8.pkglist for RHEL8 Alpha Base OS
Draft pre.rhels8 for RHEL8 Alpha Base OS
Draft post.rhels8 for RHEL8 Alpha Base OS
Draft next generation post.xcat.ng
2018-08-06 16:47:07 +08:00

62 lines
1.5 KiB
Cheetah

#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Use text install
text
# Use network installation
%include /tmp/repos
# Not run the Setup Agent on first boot
firstboot --disable
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# Network information
#KICKSTARTNET#
# Root password
rootpw --iscrypted #CRYPT:passwd:key=system,username=root:password#
# System services
services --disabled="NetworkManager"
# System timezone
timezone #TABLE:site:key=timezone:value# --isUtc
# Partition clearing information
zerombr
clearpart --all --initlabel
#XCAT_PARTITION_START#
%include /tmp/partitionfile
#XCAT_PARTITION_END#
install
skipx
# Do not configure any iptables rules
firewall --disable
selinux --disable
reboot
%packages
#INCLUDE_DEFAULT_PKGLIST#
%end
%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
%end
%pre
{
echo "Running Kickstart Pre-installation script..."
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/pre.rhels8#
} &>>/tmp/pre-install.log
%end
%post --interpreter=/bin/bash
mkdir -p /var/log/xcat/
cat /tmp/pre-install.log >>/var/log/xcat/xcat.log
{
echo "Running Kickstart Post-installation script..."
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.xcat.ng#
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.rhels8#
} &>>/var/log/xcat/xcat.log
%end