Skip to main content

installation_utils

Installation-related utilities.

Module

Functions

get_installation_uuid

def get_installation_uuid(storage_path: Path | None = None)> str:

Return the installation UUID.

Uses config.settings.paths.storage_path by default.

config.settings.installation_uuid (BITFOUNT_INSTALLATION_UUID) takes precedence over the persisted .uuid file, including when storage_path is passed explicitly. This lets co-located pod processes that share a storage path present distinct compute identities. The override is never written to disk; an unparseable override is ignored in favour of the file.