add a few comments

This commit is contained in:
lukas 2021-07-04 21:09:04 +00:00
parent e50f881ea7
commit 4112a7c724

View File

@ -57,7 +57,7 @@ user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQu
## NETWORK RELATED ##
# Deactivate the firewall
# Activate the firewall
firewall --enabled
# Configure Network Interfaces
@ -95,7 +95,7 @@ timezone Europe/Paris --utc
# Install packages for the server environment. 'Core' and 'Base' are always selected
%packages
@core
@core # Would need to know what is included in core
qemu-guest-agent # Install software to allow the host to better interact with the guest (can't find the spice-vdagent package)
pciutils # Pciutils provides lspci commandline tool and is not installed by default
## spice-vdagent
@ -109,8 +109,9 @@ pciutils # Pciutils provides lspci commandline tool and is not installed by defa
%post --log=/root/ks-post.log ## Start of the %post section with logging into /root/ks-post.log
dnf update -y # Update the system
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked
sed -i 's/5/1/' /etc/default/grub # set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds. This command could be used `bootloader --timeout=1` in the disk section
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub
sed -i 's/5/1/' /etc/default/grub # set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds. This command could be used bootloader --timeout=1 in the disk section
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub. How about this command grub2-mkconfig -o /etc/grub2-efi.cfg
reboot # Reboot the installer (doesn't work (tm))
%end # End of the %post section