blob: 32a896ed83cbd7f5fff3cc2f153888064e43729b [file] [log] [blame]
#cloud-config
debug: True
ssh_pwauth: True
disable_root: false
chpasswd:
list: |
root:ho5uo7Uome5d
# cloud-user:ho5uo7Uome5d
expire: False
output: {all: '| tee -a /var/log/cloud-init-output.log'}
runcmd:
- sed -i'.orig' -e's/PermitRootLogin.*/PermitRootLogin yes/g' -e's/PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config
- service sshd restart