remove libvirtd service activation

correct a mistake. Clearpart was removed
remove grub regeneration, as it doesn't seem to be necessary
This commit is contained in:
lukas 2021-11-26 16:19:02 +01:00
parent 20d698943e
commit 4aed83c7ad

View File

@ -17,10 +17,11 @@ rootpw --lock --iscrypted locked # Lock the root account
selinux --enforcing # Make sure SELinux is in enforced mode selinux --enforcing # Make sure SELinux is in enforced mode
firewall --enabled --service=mdns # Make sure the firewall is enabled firewall --enabled --service=mdns # Make sure the firewall is enabled
services --enabled=NetworkManager,libvirtd --disabled=sshd services --enabled=NetworkManager --disabled=sshd
network --onboot=yes --bootproto=dhcp --device=link --activate --hostname=phyllome-alpha # Configure network interfaces and set hostname. "link" selects the first device reaching an up state network --onboot=yes --bootproto=dhcp --device=link --activate --hostname=phyllome-alpha # Configure network interfaces and set hostname. "link" selects the first device reaching an up state
zerombr # WARNING : Dangerous command ! Will clear the Master Boot Record zerombr # WARNING : Dangerous command ! Will clear the Master Boot Record
clearpart --all --initlabel # Partition clearing information. This setup uses GPT by default.
%packages --exclude-weakdeps # Beginning of the package section. Does not include weak dependencies. %packages --exclude-weakdeps # Beginning of the package section. Does not include weak dependencies.
@ -47,6 +48,6 @@ generic-release-notes # "Release Notes"
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked. localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
dnf update -y # Update the system dnf update -y # Update the system
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly # grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly
%end # End of the %post section %end # End of the %post section