0x90-pyinfra/ararat/files/cloud-init.yml.j2

26 lines
607 B
Django/Jinja

#cloud-config
keyboard:
layout: de
variant: nodeadkeys
locale: en_US
timezone: UTC
disable_root: false
users:
- name: root
shell: /bin/bash
{{ ssh_authorized_keys }}
- name: mop
# so our user can just sudo without any password
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
# content from $HOME/.ssh/id_rsa.pub on your host system
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKZYJ91RLXRCQ4ZmdW6ucIltzukQ/k+lDOqlRIYwxNRv missytake@systemli.org
# Examples: https://cloudinit.readthedocs.io/en/latest/reference/examples_library.html#examples-library