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/"
|
url --url="https://repo.almalinux.org/almalinux/9/BaseOS/x86_64/os/"
|
||||||
cmdline
|
cmdline
|
||||||
skipx
|
skipx
|
||||||
timezone Europe/Paris --isUtc
|
timezone Europe/Paris --utc
|
||||||
keyboard --vckeymap=fr-oss --xlayouts='fr (oss)'
|
keyboard --vckeymap=fr-oss --xlayouts='fr (oss)'
|
||||||
lang fr_FR.UTF-8
|
lang fr_FR.UTF-8
|
||||||
network --bootproto=dhcp --activate --noipv6
|
network --bootproto=dhcp --activate --noipv6
|
||||||
|
@ -59,6 +59,9 @@ cp /tmp/pre.log /mnt/sysimage/root/pre.log
|
||||||
################################################
|
################################################
|
||||||
%post --log /root/post.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
|
# Initial SSH keys
|
||||||
mkdir /home/ansible/.ssh
|
mkdir /home/ansible/.ssh
|
||||||
cat << _EOF >> /home/ansible/.ssh/authorized_keys
|
cat << _EOF >> /home/ansible/.ssh/authorized_keys
|
||||||
|
|
Loading…
Reference in New Issue