do some cleaning

remove some comments
This commit is contained in:
lukas 2021-11-08 14:47:55 +01:00
parent 534835a870
commit 403bd38001

View File

@ -15,7 +15,6 @@ text # Perform installation in text mode
# Installation method. For cdrom, replace repo and url with cdrom
repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora mirror
repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch # Official Fedora updates mirror
# #repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora updates mirror
keyboard --xlayouts='ch (fr)' # set keyboard layouts for Romandie
@ -36,9 +35,6 @@ part /boot --fstype="ext4" --size=384 --label=boot # Create a boot partition of
part / --fstype="ext4" --grow --label=root # The remaining space will be used for root (vda3).
bootloader --timeout=1 # Set the GNU GRUB bootloader timeout to 1.
# poweroff # Power off the system after a sucessfull installation
# reboot --kexec # Reboot straight into the system after a successfull installation
%packages --exclude-weakdeps # Beginning of the package section. Does not include weak dependencies.
@core # minimal installation
@ -68,8 +64,4 @@ localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be p
dnf update -y # Update the system
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly
# In the %post section of the kickstart file, add the following as the first line. Probably useless : leaving this uncommented for the moment
# See : https://www.opensourceforu.com/2010/01/roll-out-a-fedora-remix/
# sed -i -e 's/Generic release/LFY Fedora Remix/g' /etc/fedora-release /etc/issue
%end # End of the %post section