Skip to content

Commit

Permalink
Enable root login when root password has been set
Browse files Browse the repository at this point in the history
By default, root login is disabled.

Signed-off-by: rabi <[email protected]>
  • Loading branch information
rabi committed Dec 17, 2024
1 parent 6f26588 commit 4f5ab8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/openstackbaremetalset/cloudinit/userdata
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ users:
sudo: ['ALL=(ALL) NOPASSWD:ALL']
shell: /bin/bash
{{- if (index . "NodeRootPassword") }}
disable_root: false
ssh_pwauth: true
chpasswd:
list: |
root:{{ .NodeRootPassword }}
Expand Down

0 comments on commit 4f5ab8f

Please sign in to comment.