christianlempa-boilerplates/packer/proxmox/ubuntu-server-jammy/http/user-data
2022-04-26 11:57:27 +02:00

34 lines
660 B
Plaintext

#cloud-config
autoinstall:
version: 1
locale: en_US
keyboard:
layout: de
ssh:
install-server: true
allow-pw: true
disable_root: true
ssh_quiet_keygen: true
allow_public_ssh_keys: true
packages:
- qemu-guest-agent
- sudo
storage:
layout:
name: direct
swap:
size: 0
user-data:
package_upgrade: false
timezone: Europe/Berlin
users:
- name: your-user-name
groups: [adm, sudo]
lock-passwd: false
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
# passwd: your-password
# - or -
# ssh_authorized_keys:
# - your-ssh-key