#cloud-config # from 1 files # part-001 --- apt_mirror: http://mirror.iranserver.com/ubuntu/ chpasswd: expire: false list: 'root:Ex!r1269@ ' disable_root: false package_update: true packages: - qemu-guest-agent runcmd: - - sh - -c - 'echo ''PermitRootLogin yes'' >> /etc/ssh/sshd_config ' - systemctl restart sshd.service - systemctl start qemu-guest-agent - sudo systemctl enable qemu-guest-agent ssh_pwauth: true users: - name: root ssh_pwauth: true ...