mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
lxc: simplify to a single find_image(aliases) method
Replace the two-function find_relay_image / _find_relay_image pair with Incus.find_image(aliases), which returns the first alias that exists in the local image store, or None. Container.launch() passes [RELAY_IMAGE_ALIAS, BASE_IMAGE_ALIAS] and ensure_base_image() passes [BASE_IMAGE_ALIAS].
This commit is contained in:
@@ -228,7 +228,6 @@ The Incus image store retains the following snapshot images:
|
||||
cached after the first successful ``cmdeploy run``.
|
||||
Subsequent relay containers launch from this image
|
||||
so the deploy step is mostly no-ops (roughly 3× faster than a fresh deploy).
|
||||
Relay containers are limited to **500 MiB RAM** and the DNS container to **100 MiB**.
|
||||
|
||||
|
||||
.. _lxc-tls:
|
||||
|
||||
Reference in New Issue
Block a user