Skip to content

Commit

Permalink
fix(pxe-server): disable root password
Browse files Browse the repository at this point in the history
Signed-off-by: Loc Mai <[email protected]>
  • Loading branch information
axonlmai committed Jun 16, 2022
1 parent 176e94c commit e92bf13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions metal/roles/pxe-server/templates/kickstart.inst.ks.j2
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ user --groups=wheel --name=admin
# Add SSH key
sshkey --username=root "{{ ssh_public_key }}"

# Disable root password login
rootpw --lock

# Disable SELinux
selinux --disabled

Expand Down

0 comments on commit e92bf13

Please sign in to comment.