Skip to content

Latest commit

 

History

History
256 lines (235 loc) · 6.53 KB

README.md

File metadata and controls

256 lines (235 loc) · 6.53 KB

USE THIS FOLDER TO STORE YOUR OWN ZMB CONFIGS

Configuration options reference

This is the reference of all config options you can set in zamba.conf

Linux Container Section

In this section all settings relevant for the LXC container.

LXC_TEMPLATE_STORAGE

Defines the Proxmox storage where your LXC container template are stored (default: local)

LXC_TEMPLATE_STORAGE="local"

LXC_ROOTFS_SIZE

Defines the size in GB of the LXC container's root filesystem (default: 32)

LXC_ROOTFS_SIZE="32"

Depending on your environment, you should consider increasing the size for use of mailpiler or matrix.

LXC_ROOTFS_STORAGE

Defines the Proxmox storage where your LXC container's root filesystem will be generated (default: local-zfs)

LXC_ROOTFS_STORAGE="local-zfs"

LXC_SHAREFS_SIZE

Defines the size in GB your LXC container's filesystem shared by Zamba (AD member & standalone) (default: 100)

LXC_SHAREFS_SIZE="100"

LXC_SHAREFS_STORAGE

Defines the Proxmox storage where your LXC container's filesystem shared by Zamba will be generated (default: local-zfs)

LXC_SHAREFS_STORAGE="local-zfs"

LXC_SHAREFS_MOUNTPOINT

Defines the mountpoint of the filesystem shared by Zamba inside your LXC container (default: tank)

LXC_SHAREFS_MOUNTPOINT="tank"

LXC_MEM

Defines the amount of RAM in MB your LXC container is allowed to use (default: 1024)

LXC_MEM="1024"

LXC_SWAP

Defines the amount of swap space in MB your LXC container is allowed to use (default: 1024)

LXC_SWAP="1024"

LXC_HOSTNAME

Defines the hostname of your LXC container (Default: Name of installed Service)

LXC_SWAP="zamba"

LXC_DOMAIN

Defines the domain name / search domain of your LXC container

LXC_DOMAIN="zmb.rocks"

LXC_DHCP

Enable DHCP on LAN (eth0) - (Obtain an IP address automatically) [true/false]

LXC_DHCP=false

LXC_IP

Defines the local IP address and subnet of your LXC container in CIDR format

LXC_IP="10.10.80.20/24"

LXC_GW

Defines the default gateway IP address of your LXC container

LXC_GW="10.10.80.254"

LXC_DNS

Defines the DNS server ip address of your LXC container

LXC_DNS="10.10.80.254"

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_BRIDGE

Defines the network bridge to bind the network adapter of your LXC container

LXC_BRIDGE="vmbr0"

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="80"

LXC_PWD

Defines the root password of your LXC container. Please use 'single quotation marks' to avoid unexpected behaviour.

LXC_PWD="Start!123"

LXC_AUTHORIZED_KEY

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"

LXC_TOOLSET

Define your (administrative) tools, you always want to have installed into your LXC container

LXC_TOOLSET="vim htop net-tools dnsutils sysstat mc"

LXC_TIMEZONE

Define the local timezone of your LXC container (default: Euroe/Berlin)

LXC_TIMEZONE="Europe/Berlin"

LXC_LOCALE

Define system language on LXC container (locales)

LXC_LOCALE="de_DE.utf8"

This parameter is not used yet, but will be integrated in future releases.

LXC_VIM_BG_DARK

Set dark background for vim syntax highlighting (0 or 1)

LXC_VIM_BG_DARK=1

Zamba Server Section

This section configures the Zamba server (AD DC, AD member and standalone)

ZMB_REALM

Defines the REALM for the Active Directory (AD DC, AD member)

ZMB_REALM="ZMB.ROCKS"

ZMB_DOMAIN

Defines the domain name in your Active Directory or Workgroup (AD DC, AD member, standalone)

ZMB_DOMAIN="ZMB"

ZMB_ADMIN_USER

Defines the name of your domain administrator account (AD DC, AD member, standalone)

ZMB_ADMIN_USER="Administrator"

ZMB_ADMIN_PASS

Defines the domain administrator's password (AD DC, AD member).

ZMB_ADMIN_PASS='Start!123'

Please use 'single quotation 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_SHARE

Defines the name of your Zamba share

ZMB_SHARE="share"

Mailpiler section

This section configures the mailpiler email archive

PILER_FQDN

Defines the (public) FQDN of your piler mail archive

PILER_FQDN="piler.zmb.rocks"

PILER_SMARTHOST

Defines the smarthost for piler mail archive

PILER_SMARTHOST="your.mailserver.tld"

Matrix section

This section configures the matrix chat server

MATRIX_FQDN

Define the FQDN of your Matrix server

MATRIX_FQDN="matrix.zmb.rocks"

MATRIX_ELEMENT_FQDN

Define the FQDN for the Element Web virtual host

MATRIX_ELEMENT_FQDN="element.zmb.rocks"

MATRIX_ADMIN_USER

Define the administrative user of matrix service

MATRIX_ADMIN_USER="admin"

MATRIX_ADMIN_PASSWORD

Define the admin password

MATRIX_ADMIN_PASSWORD="Start!123"

Nextcloud-Section

NEXTCLOUD_FQDN

Define the FQDN of your Nextcloud server

NEXTCLOUD_FQDN="nc1.zmb.rocks"

NEXTCLOUD_ADMIN_USR

The initial admin-user which will be configured

NEXTCLOUD_ADMIN_USR="zmb-admin"

NEXTCLOUD_ADMIN_PWD

Build a strong password for this user. Username and password will shown at the end of the instalation.

NEXTCLOUD_ADMIN_PWD="$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"

NEXTCLOUD_DATA

Defines the data directory, which will be createt under LXC_SHAREFS_MOUNTPOINT

NEXTCLOUD_DATA="nc_data"

NEXTCLOUD_REVPROX

Defines the trusted reverse proxy, which will enable the detection of source ip to fail2ban

NEXTCLOUD_REVPROX="192.168.100.254"

Check_MK-Section

CMK_INSTANCE

Define the name of your checkmk instance

CMK_INSTANCE=zmbrocks

CMK_ADMIN_PW

Define the password of user 'cmkadmin'

CMK_ADMIN_PW='Start!123'

CMK_EDITION

checkmk edition (raw or free)

  • raw = completely free
  • free = limited version of the enterprise edition (25 hosts, 1 instance)
CMK_EDITION=raw