Add new template for debian trixie without luks encryption; fix disk resizing on first boot; set default user and ssh keys for cloud init

This commit is contained in:
Philip Henning 2026-05-11 17:50:49 +02:00
parent 775215f230
commit e57f2d977b
19 changed files with 2341 additions and 17 deletions

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euf -o pipefail
export DEBIAN_FRONTEND=noninteractive
# Enable write-ahead-logging (wal -- allowing more concurrency in SQLite that will improve performances in most scenarios.)
sed -i -E '/^db_config:/,/^[^[:space:]]/{s/^([[:space:]]*)type:[[:space:]]*sqlite$/&\
\1use_wal: true/}' /etc/crowdsec/config.yaml