Small tweaks to alma9.ks

This commit is contained in:
Daniel Berteaud 2022-07-23 12:07:25 +02:00
parent dee724fcc8
commit d6bfe91f1a
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
url --url="https://repo.almalinux.org/almalinux/9/BaseOS/x86_64/os/"
cmdline
skipx
timezone Europe/Paris --isUtc
timezone Europe/Paris --utc
keyboard --vckeymap=fr-oss --xlayouts='fr (oss)'
lang fr_FR.UTF-8
network --bootproto=dhcp --activate --noipv6
@ -59,6 +59,9 @@ cp /tmp/pre.log /mnt/sysimage/root/pre.log
################################################
%post --log /root/post.log
# Enable root login with SSH to begin initial setup
sed -i -e '/PermitRootLogin/ c\PermitRootLogin yes' /etc/ssh/sshd_config
# Initial SSH keys
mkdir /home/ansible/.ssh
cat << _EOF >> /home/ansible/.ssh/authorized_keys