Skip to content

Commit

Permalink
Merge pull request #90 from locmai/fix/disable-root-pw
Browse files Browse the repository at this point in the history
fix(pxe-server): disable root password
  • Loading branch information
locmai authored Jun 16, 2022
2 parents 176e94c + e92bf13 commit 77565e8
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 77565e8

Please sign in to comment.