blob: 8ed371cd54ef234975efec5e74a22278821827f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#cloud-config
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)}
|