LXDMosaic SNAP

This page covers SNAP-specific instructions for installing and configuring LXDMosaic via the Snap package.


Installation

Install LXDMosaic from the Snap store:

bash
sudo snap install lxdmosaic

The SNAP version uses SQLite as its database by default, which simplifies setup but means certain MySQL-specific considerations (such as binary log management) do not apply.


Ports

You can configure the ports that the built-in Apache server listens on:

bash
sudo snap set lxdmosaic ports.http=81 ports.https=444

LXD Socket Access

If your LXD daemon is not available over the network, you can give LXDMosaic direct access to the LXD socket:

bash
sudo snap connect lxdmosaic:lxd lxd:lxd

This allows LXDMosaic to communicate with LXD through the Unix socket rather than requiring a network connection.


Incus Support

LXDMosaic also supports Incus hosts. When adding an Incus host in the web interface, LXDMosaic communicates with the Incus API just as it does with LXD. Ensure your Incus daemon is reachable over the network or via a Unix socket, and generate a trust token using incus config trust add --name lxdmosaic before connecting from LXDMosaic.