#!/bin/bash # Authors: # (C) 2021 Idea an concept by Christian Zengel # (C) 2021 Script design and prototype by Markus Helmke # (C) 2021 Script rework and documentation by Thorsten Spille # This file contains the project constants on service level # Debian Version, which will be installed LXC_TEMPLATE_VERSION="debian-11-standard" # Create sharefs mountpoint LXC_MP="1" # Create unprivileged container LXC_UNPRIVILEGED="0" # enable nesting feature LXC_NESTING="1" # Defines the IP from the SQL server RMM_DB_IP="127.0.0.1" # Defines the PORT from the SQL server RMM_DB_PORT="5432" # Sets the minimum amount of RAM the service needs for operation LXC_MEM_MIN=4096 # Defines the name from the SQL database RMM_DB_NAME="rmm" # Defines the name from the SQL user pgusername="rmm" # Build a strong password for the SQL user - could be overwritten with something fixed RMMUSER=tactical pgpw="$(random_password)" DJANGO_SEKRET="$(random_password)" ADMINURL="$(random_password)" MESHPASSWD="$(random_password)" meshusername="$(random_password)" # vars from tactical-rmm install script SCRIPTS_DIR="/opt/trmm-community-scripts" TMP_FILE=$(mktemp -p "" "rmminstall_XXXXXXXXXX") osname=debian djangousername=admin