vmtool/templates/user-data

9 lines
238 B
Plaintext

#cloud-config
chpasswd:
list: |
{{ instance.user }}:{{ instance.password }}
expire: False
bootcmd:
- [ cloud-init-per, once, sshenable, sed, -i, 's/PasswordAuthentication no/PasswordAuthentication yes/g', /etc/ssh/sshd_config ]