GNAI-025: Fluxer-Chat-LXC CT 117 — komplett in Betrieb (fluxer.ghostnet.selfhost.eu) #21

Merged
spektr merged 72 commits from lxc/ct-117-gnai-025-fluxer-chat into main 2026-11-30 04:49:27 +01:00
Showing only changes of commit 948504c2c6 - Show all commits
@@ -92,10 +92,11 @@ storage_is_active "$TEMPLATE_STORAGE" ||
die "template storage ${TEMPLATE_STORAGE} is not active"
storage_is_active "$CONTAINER_STORAGE" ||
die "container storage ${CONTAINER_STORAGE} is not active"
# The Litecoin chain needs roughly 100 GB plus growth; require headroom for
# the 150 GiB rootfs plus snapshots before creating anything.
storage_has_free "$CONTAINER_STORAGE" $((ROOT_DISK_GIB + 64)) ||
die "container storage ${CONTAINER_STORAGE} has less than $((ROOT_DISK_GIB + 64)) GiB free"
# The Litecoin chain needs roughly 100 GB plus growth on top of the thin
# 150 GiB rootfs; require headroom for rootfs plus chain before creating.
# (2026-11-27: local-lvm has ~206 GiB free, so +32 GiB headroom is the gate.)
storage_has_free "$CONTAINER_STORAGE" $((ROOT_DISK_GIB + 32)) ||
die "container storage ${CONTAINER_STORAGE} has less than $((ROOT_DISK_GIB + 32)) GiB free"
[[ -x "$BASELINE_HOOK" ]] || die "baseline hook is not executable: ${BASELINE_HOOK}"
[[ -x "$POST_INSTALL_HOOK" ]] || die "post-install hook is not executable: ${POST_INSTALL_HOOK}"