Improved doc, removed just-lxc, added (un)priv ct

This commit is contained in:
thorstenspille
2021-04-17 15:33:59 +02:00
parent 2b917c02e8
commit 582444e57b
6 changed files with 93 additions and 68 deletions

View File

@@ -11,96 +11,110 @@
############### Linux Container Section ###############
# The storage, where your container tmeplates are located (in most cases: local)
# Defines the Proxmox storage where your LXC container template are stored (default: local)
LXC_TEMPLATE_STORAGE="local"
# Define the size and storage location of the container's root filesystem
# Defines the size in GB of the LXC container's root filesystem (default: 32)
# Depending on your environment, you should consider increasing the size for use of `mailpiler` or `matrix`.
LXC_ROOTFS_SIZE="32"
# Defines the Proxmox storage where your LXC container's root filesystem will be generated (default: local-zfs)
LXC_ROOTFS_STORAGE="local-zfs"
# Define the size, storage location and mountpoint of the container's shared filesystem (required for 'zmb_standalone' and 'zmb_member')
# Defines the size in GB your LXC container's filesystem shared by Zamba (AD member & standalone) (default: 100)
LXC_SHAREFS_SIZE="100"
# Defines the Proxmox storage where your LXC container's filesystem shared by Zamba will be generated (default: local-zfs)
LXC_SHAREFS_STORAGE="local-zfs"
# Defines the mountpoint of the filesystem shared by Zamba inside your LXC container (default: tank)
LXC_SHAREFS_MOUNTPOINT="tank"
# Size of the RAM assigned to the container
# Defines the amount of RAM in MB your LXC container is allowed to use (default: 1024)
LXC_MEM="1024"
# Size of the SWAP assigned to the container
# Defines the amount of swap space in MB your LXC container is allowed to use (default: 1024)
LXC_SWAP="1024"
# The hostname (eg. zamba1 or mailpiler1)
# Defines the hostname of your LXC container
LXC_HOSTNAME="zamba"
# The domain suffix (the domain name / search domain of th container, results to the FQDN 'LXC_HOTNAME.LXC_DOMAIN')
# Defines the domain name / search domain of your LXC container
LXC_DOMAIN="zmb.rocks"
# IP-address and subnet
LXC_IP="10.10.80.20/24"
# Defines the local IP address and subnet of your LXC container in CIDR format
LXC_IP="192.168.100.200/24"
# Gateway
LXC_GW="10.10.80.10"
# Defines the default gateway IP address of your LXC container
LXC_GW="192.168.100.254"
# DNS-server (should be your AD DC)
LXC_DNS="10.10.80.10"
# Defines the DNS server ip address of your LXC container
# `zmb-ad` used this DNS server for installation, after installation and domain provisioning it will be used as forwarding DNS
# For other services this should be your active directory domain controller (if present, else a DNS server of your choice)
LXC_DNS="192.168.100.254"
# Networkbridge for this container
# Defines the network bridge to bind the network adapter of your LXC container
LXC_BRIDGE="vmbr0"
# Optional VLAN number for this container
LXC_VLAN=""
# Defines the vlan id of the LXC container's network interface, if the network adapter should be connected untagged, just leave the value empty.
LXC_VLAN=
# root password - take care to delete from this file. Please use 'single quatation marks' to avoid unexpected behaviour.
# Defines the `root` password of your LXC container. Please use 'single quatation marks' to avoid unexpected behaviour.
LXC_PWD='S3cr3tp@ssw0rd'
# SSH-Key to add to authorized_keys
LXC_AUTHORIZED_KEY="ssh-rsa xxxxxxxx"
# Defines an authorized_keys file to push into the LXC container.
# By default the authorized_keys will be inherited from your proxmox host.
LXC_AUTHORIZED_KEY="/root/.ssh/authorized_keys"
# Define some optional packages to install (your favourite tools on linux systems)
LXC_TOOLSET="vim htop net-tools dnsutils mc sysstat lsb-release curl git"
# Define your (administrative) tools, you always want to have installed into your LXC container
LXC_TOOLSET="vim htop net-tools dnsutils mc sysstat lsb-release curl git gnupg2 apt-transport-https"
# Define system timezone on LXC container
# Define the local timezone of your LXC container (default: Euroe/Berlin)
LXC_TIMEZONE="Europe/Berlin"
# Define system language on LXC container (locales)
# This parameter is not used yet, but will be integrated in future releases.
LXC_LOCALE="de_DE.utf8"
############### Zamba-Server-Section ###############
# Domain Entries to samba/smb.conf. Will be also uses for samba domain-provisioning when zmb-pdc will choosen.
# Defines the REALM for the Active Directory (AD DC, AD member)
ZMB_REALM="ZMB.ROCKS"
# Defines the domain name in your Active Directory or Workgroup (AD DC, AD member, standalone)
ZMB_DOMAIN="ZMB"
# Select the Zamba AD DNS backend, supported are SAMBA_INTERNAL or BIND9_DLZ
# Defines the desired DNS server backend, supported are `SAMBA_INTERNAL` and `BIND9_DLZ` for more advanced usage
ZMB_DNS_BACKEND="SAMBA_INTERNAL"
# The Domain-Admin and password for zamba installation
ZMB_ADMIN_USER="Administrator"
# The Domain admin password for zamba installation. Please use 'single quatation marks' to avoid unexpected behaviour.
ZMB_ADMIN_PASS='MYPASSWORD'
# Defines the name of your domain administrator account (AD DC, AD member, standalone)
ZMB_ADMIN_USER="administrator"
# The admin password for zamba installation. Please use 'single quatation marks' to avoid unexpected behaviour
# `zmb-ad` domain administrator has to meet the password complexity policy, if password is too weak, domain provisioning will fail
ZMB_ADMIN_PASS='1c@nd0@nyth1n9'
# Name of the Zamba Share
# Defines the name of your Zamba share
ZMB_SHARE="share"
############### Mailpiler-Section ###############
# The FQDN vor the Hostname. This must be exactly the same like the LXC_HOSTNAME / LXC_DOMAIN at section above.
# Defines the (public) FQDN of your piler mail archive
PILER_FQDN="piler.zmb.rocks"
PILER_SMARTHOST="10.10.80.20"
# Defines the smarthost for piler mail archive
PILER_SMARTHOST="your.mailserver.tld"
# Defines the version number of piler mail archive to install
PILER_VERSION="1.3.10"
# Defines the version of sphinx to install
PILER_SPHINX_VERSION="3.3.1"
# Defines the php version to install
PILER_PHP_VERSION="7.4"
############### Matrix-Section ###############
# The FQDN vor the Hostname. This should be the same like the LXC_HOSTNAME / LXC_DOMAIN at section above.
# Define the FQDN of your Matrix server
MATRIX_FQDN="matrix.zmb.rocks"
# Virtual host to run the Element Web messenger
# Define the FQDN for the Element Web virtual host
MATRIX_ELEMENT_FQDN="element.zmb.rocks"
# Element Web version
# Define the version of Element Web
MATRIX_ELEMENT_VERSION="v1.7.24"
# Virtuel host to run the Jitsi Meet
# Define the FQDN for the Jitsi Meet virtual host
MATRIX_JITSI_FQDN="meet.zmb.rocks"