Skip to content

Commit

Permalink
Merge pull request #246 from rabi/root_login
Browse files Browse the repository at this point in the history
Enable root login when root password has been set
  • Loading branch information
openshift-merge-bot[bot] authored Dec 17, 2024
2 parents 6f26588 + 4f5ab8f commit 8c719f7
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 8c719f7

Please sign in to comment.