mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-31 09:57:38 +07:00
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:
parent
d4189337a8
commit
3b0b934df4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user