aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/etc/cloud-init.cfg
blob: 1de2c423d23cc17acc14b93e46d845b0e6d8f2dc (plain) (tree)
1
2
3
4
5
6

             



                                










                                                
#cloud-config

package_update: true
package_upgrade: true
package_reboot_if_required: true

users:
  - name: ${jsonencode(user)}
    lock_passwd: false
    hashed_passwd: '*'
    sudo: ALL=(ALL) NOPASSWD:ALL
    ssh_authorized_keys: ${jsonencode(ssh_keys)}
    shell: /bin/bash

write_files:
  - path: /etc/ssh/sshd_config
    content: ${jsonencode(sshd_config)}