mirror of
				https://github.com/bashclub/zamba-lxc-toolbox.git
				synced 2025-11-04 08:02:28 +01:00 
			
		
		
		
	Add keyctl parameter
This commit is contained in:
		@@ -149,7 +149,7 @@ sleep 2;
 | 
			
		||||
# Check vlan configuration
 | 
			
		||||
if [[ $LXC_VLAN != "NONE" ]];then VLAN=",tag=$LXC_VLAN"; else VLAN=""; fi
 | 
			
		||||
# 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
 | 
			
		||||
 pct set $LXC_NBR -net0 "name=eth0,bridge=$LXC_BRIDGE,ip=dhcp,type=veth$VLAN"
 | 
			
		||||
else
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=1024
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=1024
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# checkmk version
 | 
			
		||||
CMK_VERSION=2.2.0p14
 | 
			
		||||
# build number of the debian package (needs to start with underscore)
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=512
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=512
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# set ecodms release version
 | 
			
		||||
ECODMS_RELEASE=ecodms_230164
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Defines the IP from the SQL server
 | 
			
		||||
GITEA_DB_IP="127.0.0.1"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
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')
 | 
			
		||||
#KIMAI_VERSION="main"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
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')
 | 
			
		||||
KOPANO_VERSION="latest"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
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')
 | 
			
		||||
PILER_VERSION="1.3.12"
 | 
			
		||||
# Defines the version of sphinx to install
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=1024
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
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')
 | 
			
		||||
NEXTCLOUD_VERSION="latest"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=2048
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
ONLYOFFICE_DB_HOST=localhost
 | 
			
		||||
 | 
			
		||||
ONLYOFFICE_DB_NAME=onlyoffice
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=1024
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Backup ubdir where Urbackup will store backups
 | 
			
		||||
PBS_DATA="backup"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Defines the IP from the SQL server
 | 
			
		||||
REI3_DB_IP="127.0.0.1"
 | 
			
		||||
 
 | 
			
		||||
@@ -21,6 +21,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=2048
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Backup ubdir where Urbackup will store backups
 | 
			
		||||
URBACKUP_DATA="urbackup"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Defines the name from the SQL database
 | 
			
		||||
VAULTWARDEN_DB_NAME="vaultwarden"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Defines the IP from the SQL server
 | 
			
		||||
ZABBIX_DB_IP="127.0.0.1"
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="1"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=4096
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# add optional features to samba ad dc
 | 
			
		||||
 | 
			
		||||
# CURRENTLY SUPPORTED:
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# add optional features to samba ad dc
 | 
			
		||||
 | 
			
		||||
# CURRENTLY SUPPORTED:
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=1024
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=1024
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,9 @@ LXC_UNPRIVILEGED="0"
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="1"
 | 
			
		||||
 | 
			
		||||
# enable keyctl feature
 | 
			
		||||
LXC_KEYCTL="0"
 | 
			
		||||
 | 
			
		||||
# Sets the minimum amount of RAM the service needs for operation
 | 
			
		||||
LXC_MEM_MIN=1024
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user