Linux – Cloud-init, note-to-self

Just a reminder for myself.

Can use in Cloud-init to set password for accounts.

#cloud-config

ssh_pwauth: true
password: password
chpasswd:
list: |
root:password
centos:password
expire: false

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: