Skip to content

omnia.env

omnia.env is the shared environment configuration used by omnia.sh, module initialization scripts, and Ansible playbooks. Edit src/main/omnia.env before the first OIM setup. After installation, /etc/omnia/omnia.env is authoritative and is preserved by subsequent setup runs.

Location

Source:    src/main/omnia.env
Installed: /etc/omnia/omnia.env

Source the installed environment before running Omnia commands directly:

set -a
source /etc/omnia/omnia.env
set +a

For normal changes after setup, edit /etc/omnia/omnia.env. To intentionally replace the installed environment with the source template, run ./omnia.sh --setup-venv --force-env.

Variables

Variable Requirement Source value Purpose
SYSTEM_ADMIN_NIC_IPV4 Required 172.16.107.254 OIM admin-network IPv4 address used by platform services.
OMNIA_DATA_PATH Optional /opt/omnia Root for persistent module data.
OMNIA_PROJECT_NAME Optional project_default Selects each module's input and output project directory.
SYSTEM_HOSTNAME Optional oim Short hostname of the OIM host.
SYSTEM_DOMAIN_NAME Optional omnia.cluster Domain name of the OIM host.
OMNIA_VENV_PATH Optional /opt/omnia/venv Shared Python virtual environment created during setup.
OMNIA_VERSION Optional 2.3.0.0 Omnia release version.
CATALOG_FILE_PATH Optional ${OMNIA_DATA_PATH}/catalog/catalog_rhel.json Shared catalog path consumed by catalog-aware modules.

All domain data paths derive from OMNIA_DATA_PATH:

${OMNIA_DATA_PATH}/repo_manager
${OMNIA_DATA_PATH}/image_build_manager
${OMNIA_DATA_PATH}/discovery
${OMNIA_DATA_PATH}/orchestrator
${OMNIA_DATA_PATH}/telemetry
${OMNIA_DATA_PATH}/build_stream
${OMNIA_DATA_PATH}/utils

For an existing deployment that stores domain data outside the common hierarchy, move that data beneath the corresponding domain directory before running that domain. Changing OMNIA_DATA_PATH changes the common data root for every domain.

For an existing deployment that stores Telemetry data outside the common hierarchy, move that data into ${OMNIA_DATA_PATH}/telemetry before running Telemetry.

Do not add credentials to omnia.env; module credential playbooks create their own encrypted credential files.