add initial setup configuration

This commit is contained in:
lukas 2021-07-21 22:32:00 +02:00
parent 99c6370624
commit a2a292f592

View File

@ -22,7 +22,7 @@ rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRgh
# Create "test" user account
user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test"
firewall --enabled # Activate the firewall
firewall --enabled # Make sure the firewall is enabled
network --onboot=yes --bootproto=dhcp --hostname=vmd # Configure network interfaces and set hostname
ignoredisk --only-use=vda # Only use disk labelled as vda
@ -43,4 +43,5 @@ pciutils # Pciutils provides lspci commandline tool and is not installed by defa
%post # Beginning of the post-installation section
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked
firstboot --reconfig kickstart # To lauch the initial setup after the first boot
%end # End of the %post section