2021-08-19 10:46:56 +00:00
# __ ____ ____ _____
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
# /_/ /____/
#
2021-11-04 12:09:12 +00:00
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented system with a hypervisor optimized for Intel (tm) CPUs
# 's' for server, 'h' for hypervisor', 'i' for intel
2021-08-19 10:46:56 +00:00
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
2021-11-04 12:09:12 +00:00
# ksflatten -c shi.cfg -o ../flat/flat-shi.cfg
2021-08-19 10:46:56 +00:00
2021-11-04 12:09:12 +00:00
%include b.cfg # Include a base system
%include bh.cfg # A base hypervisor
%include bhi.cfg # Specific virtualization tweaks for Intel(tm) CPU and Intel(tm) graphic cards
2021-08-19 10:46:56 +00:00
firstboot --enable --reconfig # Initial Setup will start after the first reboot
2021-08-19 17:42:14 +00:00
reboot --kexec # Reboot straight into the system after a successfull installation
2021-08-19 10:46:56 +00:00
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
initial-setup # Install the initial setup package.
%end # End of the packages section