mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2025-01-03 09:35:26 +00:00
add command to update the system and activate the firewall
This commit is contained in:
parent
eb7378f3a1
commit
93de830842
@ -58,7 +58,7 @@ user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQu
|
||||
## NETWORK RELATED ##
|
||||
|
||||
# Deactivate the firewall
|
||||
firewall --disabled
|
||||
firewall --enabled
|
||||
|
||||
# Configure Network Interfaces
|
||||
network --onboot=yes --bootproto=dhcp --hostname=vemsd
|
||||
@ -104,7 +104,7 @@ qemu-guest-agent # Install software to allow the host to better interact with th
|
||||
## POST-INSTALLATION SCRIPT ##
|
||||
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user