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.
|
|
|
|
# 's' for server
|
2021-08-19 10:46:56 +00:00
|
|
|
|
|
|
|
# Know bug: Cannot resolve host name
|
|
|
|
|
|
|
|
# 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 s.cfg -o ../flat/flat-s.cfg
|
2021-08-19 10:46:56 +00:00
|
|
|
|
2021-11-04 12:09:12 +00:00
|
|
|
%include b.cfg # A base system
|
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.
|
|
|
|
|
2021-11-04 12:09:12 +00:00
|
|
|
# Download netboot.xyz # cannot resolve hostname
|
|
|
|
|
2021-08-19 10:46:56 +00:00
|
|
|
%end # End of the packages section
|