forked from bashclub/zamba-lxc-toolbox
Add tactical rmm container
This commit is contained in:
47
src/tactical-rmm/constants-service.conf
Normal file
47
src/tactical-rmm/constants-service.conf
Normal file
@ -0,0 +1,47 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Authors:
|
||||
# (C) 2021 Idea an concept by Christian Zengel <christian@sysops.de>
|
||||
# (C) 2021 Script design and prototype by Markus Helmke <m.helmke@nettwarker.de>
|
||||
# (C) 2021 Script rework and documentation by Thorsten Spille <thorsten@spille-edv.de>
|
||||
|
||||
# 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"
|
||||
|
||||
# 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"
|
||||
PYTHON_VER="3.10.4"
|
||||
TMP_FILE=$(mktemp -p "" "rmminstall_XXXXXXXXXX")
|
||||
osname=debian
|
||||
djangousername=admin
|
Reference in New Issue
Block a user