iac/terraform/mcaptcha/cloud_init.cfg

30 lines
596 B
YAML

#cloud-config
# vim: syntax=yaml
packages:
- sudo
- qemu-guest-agent
runcmd:
- [ systemctl, daemon-reload ]
- [ systemctl, enable, qemu-guest-agent.service ]
- [ systemctl, start, --wait, qemu-guest-agent.service ]
users:
- name: root
ssh_authorized_keys:
- ${ssh_public_key}
- name: atm
gecos: Aravinth Manivannan
groups: users, admin
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
lock_passwd: true
plain_text_passwd: fooabr12
ssh_authorized_keys:
- ${ssh_public_key}
ssh_pwauth: true
chpasswd:
list: |
root:foobar12
atm:foobar12
expire: False