fix(metal): disable root password login

https://github.com/khuedoan/homelab/issues/63

Rocky Linux 8.6 requires root password to be set
This commit is contained in:
Khue Doan 2022-06-08 20:27:28 +07:00
parent d4189337a8
commit 3b0b934df4

View File

@ -34,6 +34,8 @@ timezone {{ timezone }} --isUtc
user --groups=wheel --name=admin
# Add SSH key
sshkey --username=root "{{ ssh_public_key }}"
# Disable root password login
rootpw --lock
# Disable SELinux
selinux --disabled