Add keyctl parameter

This commit is contained in:
thorstenspille 2024-01-21 13:46:06 +01:00
parent 3977496d8e
commit 6ac88f649b
28 changed files with 82 additions and 1 deletions

View File

@ -149,7 +149,7 @@ sleep 2;
# Check vlan configuration # Check vlan configuration
if [[ $LXC_VLAN != "NONE" ]];then VLAN=",tag=$LXC_VLAN"; else VLAN=""; fi if [[ $LXC_VLAN != "NONE" ]];then VLAN=",tag=$LXC_VLAN"; else VLAN=""; fi
# Reconfigure conatiner # Reconfigure conatiner
pct set $LXC_NBR -memory $LXC_MEM -swap $LXC_SWAP -hostname $LXC_HOSTNAME -onboot 1 -timezone $LXC_TIMEZONE -features nesting=$LXC_NESTING; pct set $LXC_NBR -memory $LXC_MEM -swap $LXC_SWAP -hostname $LXC_HOSTNAME -onboot 1 -timezone $LXC_TIMEZONE -features nesting=$LXC_NESTING,keyctl=$LXC_KEYCTL;
if [ $LXC_DHCP == true ]; then if [ $LXC_DHCP == true ]; then
pct set $LXC_NBR -net0 "name=eth0,bridge=$LXC_BRIDGE,ip=dhcp,type=veth$VLAN" pct set $LXC_NBR -net0 "name=eth0,bridge=$LXC_BRIDGE,ip=dhcp,type=veth$VLAN"
else else

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=1024 LXC_MEM_MIN=1024

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=1024 LXC_MEM_MIN=1024

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# checkmk version # checkmk version
CMK_VERSION=2.2.0p14 CMK_VERSION=2.2.0p14
# build number of the debian package (needs to start with underscore) # build number of the debian package (needs to start with underscore)

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=512 LXC_MEM_MIN=512

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=512 LXC_MEM_MIN=512

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# set ecodms release version # set ecodms release version
ECODMS_RELEASE=ecodms_230164 ECODMS_RELEASE=ecodms_230164

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Defines the IP from the SQL server # Defines the IP from the SQL server
GITEA_DB_IP="127.0.0.1" GITEA_DB_IP="127.0.0.1"

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Defines the version number of kimai mail archive to install (type in exact version number (e.g. 1.3.11) or 'latest') # Defines the version number of kimai mail archive to install (type in exact version number (e.g. 1.3.11) or 'latest')
#KIMAI_VERSION="main" #KIMAI_VERSION="main"

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Defines the version number of piler mail archive to install (type in exact version number (e.g. 1.3.11) or 'latest') # Defines the version number of piler mail archive to install (type in exact version number (e.g. 1.3.11) or 'latest')
KOPANO_VERSION="latest" KOPANO_VERSION="latest"

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Defines the version number of piler mail archive to install (type in exact version number (e.g. 1.3.11) or 'latest') # Defines the version number of piler mail archive to install (type in exact version number (e.g. 1.3.11) or 'latest')
PILER_VERSION="1.3.12" PILER_VERSION="1.3.12"
# Defines the version of sphinx to install # Defines the version of sphinx to install

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=1024 LXC_MEM_MIN=1024

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Defines the version number of piler mail archive to install (type in exact version number (e.g. 1.3.11) or 'latest') # Defines the version number of piler mail archive to install (type in exact version number (e.g. 1.3.11) or 'latest')
NEXTCLOUD_VERSION="latest" NEXTCLOUD_VERSION="latest"

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=2048 LXC_MEM_MIN=2048

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
ONLYOFFICE_DB_HOST=localhost ONLYOFFICE_DB_HOST=localhost
ONLYOFFICE_DB_NAME=onlyoffice ONLYOFFICE_DB_NAME=onlyoffice

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=1024 LXC_MEM_MIN=1024

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Backup ubdir where Urbackup will store backups # Backup ubdir where Urbackup will store backups
PBS_DATA="backup" PBS_DATA="backup"

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Defines the IP from the SQL server # Defines the IP from the SQL server
REI3_DB_IP="127.0.0.1" REI3_DB_IP="127.0.0.1"

View File

@ -21,6 +21,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=2048 LXC_MEM_MIN=2048

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Backup ubdir where Urbackup will store backups # Backup ubdir where Urbackup will store backups
URBACKUP_DATA="urbackup" URBACKUP_DATA="urbackup"

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Defines the name from the SQL database # Defines the name from the SQL database
VAULTWARDEN_DB_NAME="vaultwarden" VAULTWARDEN_DB_NAME="vaultwarden"

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Defines the IP from the SQL server # Defines the IP from the SQL server
ZABBIX_DB_IP="127.0.0.1" ZABBIX_DB_IP="127.0.0.1"

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=4096 LXC_MEM_MIN=4096

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# add optional features to samba ad dc # add optional features to samba ad dc
# CURRENTLY SUPPORTED: # CURRENTLY SUPPORTED:

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# add optional features to samba ad dc # add optional features to samba ad dc
# CURRENTLY SUPPORTED: # CURRENTLY SUPPORTED:

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=1024 LXC_MEM_MIN=1024

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=1024 LXC_MEM_MIN=1024

View File

@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
# enable nesting feature # enable nesting feature
LXC_NESTING="1" LXC_NESTING="1"
# enable keyctl feature
LXC_KEYCTL="0"
# Sets the minimum amount of RAM the service needs for operation # Sets the minimum amount of RAM the service needs for operation
LXC_MEM_MIN=1024 LXC_MEM_MIN=1024