Files
vpsmgr/scripts
bluebluesodaandCommandCodeBot ef67357d33 feat(storage): ZFS-only pool; harden Debian host dependencies
- Drop the dir backend entirely: quotas, snapshots and clone-on-create
  need ZFS, and dir silently breaks disk limits. 10-incus.sh now
  refuses a non-ZFS pool (fresh or adopted) instead of silently
  degrading, and pool creation failures are fatal.
- Incus does NOT bundle the ZFS userspace tools, so 00-check.sh installs
  zfsutils-linux plus what Debian needs to build it: DKMS compiles the
  ZFS kernel modules against the running kernel, so linux-headers-$(uname
  -r) and build-essential (gcc/make) are required on Debian (Ubuntu
  ships prebuilt modules). If the module is missing for the current
  kernel, 00-check builds it with dkms and verifies `modprobe zfs`.
- Harden other Debian-minimal gaps: ca-certificates (every curl HTTPS
  call fails without it), python3 (prefix/subnet validation), tar +
  xz-utils (traefik tarball). 30-traefik.sh re-ensures curl/tar/
  ca-certificates when run standalone.

Verified end-to-end on Debian 13: dir pool rejected, ZFS loop-file pool
created, container boot, ZFS disk quota applied (5G), full test suite
passes.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-08-14 06:29:04 +00:00
..