add selinux and remove poweroff

comment out xconfig. Taken care off elsewhere
This commit is contained in:
lukas 2021-08-19 15:05:28 +02:00
parent 08ae26e9f0
commit 5308ba4f40
2 changed files with 7 additions and 5 deletions

View File

@ -28,9 +28,9 @@ keyboard --xlayouts='ch (fr)' # set keyboard layouts for Romandie # Unnecessary
lang en_US.UTF-8 # Set system language to American English # Unnecessary if using inital-setup
timezone Europe/Paris --utc # Set System timezone to Paris # Unnecessary if using inital-setup
selinux --enforcing
selinux --enforcing # Make sure SELinux is in enforced mode
firewall --enabled --service=mdns
xconfig --startxonboot
# xconfig --startxonboot
zerombr
clearpart --all
@ -42,9 +42,9 @@ network --bootproto=dhcp --device=link --activate --hostname=phyllome
rootpw --lock --iscrypted locked
shutdown
# shutdown
%packages
%packages # Beginning of the packages section.
# Explicitly specified here:
# <notting> walters: because otherwise dependency loops cause yum issues.

View File

@ -12,6 +12,7 @@
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
@ -23,6 +24,7 @@ timezone Europe/Paris --utc # Set System timezone to Paris # Unnecessary if usin
rootpw --lock --iscrypted locked # Lock the root account
selinux --enforcing # Make sure SELinux is in enforced mode
firewall --enabled # Make sure the firewall is enabled
services --enabled=NetworkManager --disabled=sshd
network --onboot=yes --bootproto=dhcp --device=link --activate --hostname=phyllome # Configure network interfaces and set hostname
@ -34,7 +36,7 @@ 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 Grub bootloader timeout to 1
poweroff # Power off the system after a sucessfull installation
# 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 packages section. Do not include weak dependencies.