Closed StanvanHoorn closed 1 year ago
Hey @StanvanHoorn I cannot reproduce any issues. Everything works as expected. The list key accepts two types of the value, multiline string and list.
The use of the multiline string for this field is deprecated and will result in an error in a future version of cloud-init. I've tested both versions
multiline string:
#cloud-config
chpasswd:
list: |
root:$hash
list:
#cloud-config
chpasswd:
list:
- root:$hash
When deploying an AWS instance with the AlmaLinux 8 image, chpasswd doesn't seem to work.
Example config:
Error message:
Alternatives like Rocky don't seem to have this issue