get it actually working, with the correct cloudimage and stuff ;P

This commit is contained in:
Carl Suckfuell 2022-06-29 14:15:52 +02:00
parent 67c9db90a0
commit c7a431916f
6 changed files with 48 additions and 31 deletions

View file

@ -1,11 +1,32 @@
# cloud-config
locale: "de_DE.UTF-8"
packages:
- screen
- ripgrep
- ranger
users:
- default:
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEGThAm6K/gH+36Q616He7Hykd3HEMVMifsbSlXuw9j7 carl@work
#cloud-config
hostname: '{{ vmname }}'
ssh_pwauth: false
# sets authorized ssh-keys keys for probably all users
ssh_authorized_keys:
{% for key in ssh_pubkeys %}
- {{ key }}
# sets the default's users password
password:{{ vms_pass }}
##
# use the following, to set individual user passwords
##
# chpasswd:
# expire: false
# list:
# - user:{{ vms_pass }}
# - root:{{ vms_pass }}
#
# users:
# - name: user
# groups: sudo
# shell: /bin/bash
# ssh_authorized_keys:
#{% for key in ssh_pubkeys %}
# - {{ key }}
#{% endfor %}
# - name: root
# ssh_authorized_keys:
#{% for key in ssh_pubkeys %}
# - {{ key }}
#{% endfor %}