From 5308ba4f409227e585e830c8d1f8cbbc87bd2c1f Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 19 Aug 2021 15:05:28 +0200 Subject: [PATCH] add selinux and remove poweroff comment out xconfig. Taken care off elsewhere --- leaves/blmd.cfg | 8 ++++---- leaves/bmd.cfg | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/leaves/blmd.cfg b/leaves/blmd.cfg index a0b9c6e..4c328b2 100644 --- a/leaves/blmd.cfg +++ b/leaves/blmd.cfg @@ -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: # walters: because otherwise dependency loops cause yum issues. diff --git a/leaves/bmd.cfg b/leaves/bmd.cfg index bffac6d..9bb0d3a 100644 --- a/leaves/bmd.cfg +++ b/leaves/bmd.cfg @@ -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.