2021-08-18 09:51:42 +00:00
|
|
|
# __ ____ ____ _____
|
|
|
|
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
|
|
|
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
|
|
|
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
|
|
|
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
|
|
|
# /_/ /____/
|
|
|
|
|
2021-08-18 13:01:51 +00:00
|
|
|
# What ? This kickstart file bootstraps a live desktop machine.
|
2021-08-18 09:51:42 +00:00
|
|
|
|
2021-08-18 18:10:10 +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 :
|
2022-01-03 20:21:23 +00:00
|
|
|
# ksflatten -c live-desktop.cfg -o ../dishes/live-desktop.cfg
|
2021-08-18 18:10:10 +00:00
|
|
|
|
2023-05-29 19:02:43 +00:00
|
|
|
# to flatten all the files in the recipes repository, to the following
|
|
|
|
# for filename in *.cfg; do ksflatten -c "$filename" -o "../dishes/$filename"; done
|
|
|
|
|
2023-05-27 13:32:42 +00:00
|
|
|
# Instructions for creating an ISO file
|
|
|
|
# Temporary disable SELinux:
|
|
|
|
# setenforce 0
|
|
|
|
# Use the following command to create an ISO file, as the root user:
|
|
|
|
# livemedia-creator --make-iso --ks live-desktop.cfg --no-virt --iso-only --iso-name live-desktop-x86_64.iso --releasever 38
|
2021-11-10 08:45:28 +00:00
|
|
|
|
|
|
|
# The resulting ISO can be tested with qemu-kvm, using the following these two commands, as *root*:
|
|
|
|
# UEFI test:
|
2021-11-26 15:21:00 +00:00
|
|
|
# qemu-kvm -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -m 2048 -vga qxl live-desktop-x86_64.iso
|
2021-11-10 08:45:28 +00:00
|
|
|
# BIOS test:
|
2021-11-26 15:21:00 +00:00
|
|
|
# qemu-kvm -m 2048 -vga qxl live-desktop-x86_64.iso
|
2021-08-19 10:07:22 +00:00
|
|
|
|
2023-05-27 13:32:42 +00:00
|
|
|
%include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
|
|
|
|
%include ../ingredients/base-live.cfg # A minimal base for live systems
|
|
|
|
%include ../ingredients/base-storage-live.cfg # a base storage for live systems
|
|
|
|
%include ../ingredients/base-desktop-gnome.cfg # A desktop environment based on GNOME Shell
|
2021-08-18 09:51:42 +00:00
|
|
|
|
2023-05-27 13:32:42 +00:00
|
|
|
poweroff # Shut down the system after a successful installation
|