Extract parameters from core, and create new ingredients out of it, including for security., network, or services
This commit is contained in:
parent
483fad16f4
commit
c7e7c8f21a
11
ingredients/core-network.cfg
Normal file
11
ingredients/core-network.cfg
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# __ ____ ____ _____
|
||||||
|
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||||
|
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||||
|
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||||
|
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||||
|
# /_/ /____/
|
||||||
|
#
|
||||||
|
# What ? This kickstart file provides the basic block to build a minimal operating system based on Fedora
|
||||||
|
|
||||||
|
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
|
||||||
|
|
12
ingredients/core-security-off.cfg
Normal file
12
ingredients/core-security-off.cfg
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# __ ____ ____ _____
|
||||||
|
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||||
|
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||||
|
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||||
|
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||||
|
# /_/ /____/
|
||||||
|
#
|
||||||
|
# What ? This kickstart ingredient sets security to low
|
||||||
|
|
||||||
|
rootpw --lock --iscrypted locked # The root account is locked by default. The root user will not be able to log in from the console
|
||||||
|
selinux --disabled # Make sure SELinux is disabled ; other option: --enforcing
|
||||||
|
firewall --disabled # Make sure the firewall is disabled
|
12
ingredients/core-security-on.cfg
Normal file
12
ingredients/core-security-on.cfg
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# __ ____ ____ _____
|
||||||
|
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||||
|
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||||
|
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||||
|
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||||
|
# /_/ /____/
|
||||||
|
#
|
||||||
|
# What ? This kickstart ingredient sets security to normal
|
||||||
|
|
||||||
|
rootpw --lock --iscrypted locked # The root account is locked by default. The root user will not be able to log in from the console
|
||||||
|
selinux --enabled # Make sure SELinux is enabled ; other option: --disabled
|
||||||
|
firewall --enabled # Make sure the firewall is enabled
|
10
ingredients/core-services.cfg
Normal file
10
ingredients/core-services.cfg
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# __ ____ ____ _____
|
||||||
|
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||||
|
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||||
|
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||||
|
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||||
|
# /_/ /____/
|
||||||
|
#
|
||||||
|
# What ? This kickstart file provides the basic block to build a minimal operating system based on Fedora
|
||||||
|
|
||||||
|
services --enabled=NetworkManager,chronyd,systemd-resolved
|
@ -5,15 +5,8 @@
|
|||||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||||
# /_/ /____/
|
# /_/ /____/
|
||||||
#
|
#
|
||||||
# What ? This kickstart file provides the basic block to build a minimal operating system based on Fedora
|
# What ? This kickstart ingredients define the installation method
|
||||||
|
|
||||||
text # Perform the kickstart installation in text mode
|
text # Perform the kickstart installation in text mode
|
||||||
|
|
||||||
rootpw --lock --iscrypted locked # Lock the root account
|
|
||||||
selinux --disabled # Make sure SELinux is disabled ; other option: --enforcing
|
|
||||||
firewall --disable # Make sure the firewall is disabled
|
|
||||||
|
|
||||||
services --enabled=NetworkManager,chronyd,systemd-resolved
|
|
||||||
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
|
|
||||||
|
|
||||||
poweroff # Shut down the system after a successful installation
|
poweroff # Shut down the system after a successful installation
|
Loading…
x
Reference in New Issue
Block a user