blob: 1de2c423d23cc17acc14b93e46d845b0e6d8f2dc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#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)}
|