Small tweaks to alma9.ks
This commit is contained in:
parent
dee724fcc8
commit
d6bfe91f1a
5
alma9.ks
5
alma9.ks
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue