Add options for bind-mount of host filesystem folder and apt mirror setup.

This commit is contained in:
greg.gaskill
2023-08-10 10:31:55 -04:00
parent 95d1ebd013
commit a5e7658490
4 changed files with 32 additions and 8 deletions

View File

@ -12,6 +12,11 @@ Defines the Proxmox storage where your LXC container template are stored (defaul
```bash
LXC_TEMPLATE_STORAGE="local"
```
### LXC_TEMPLATE_SET_MIRROR
Delault mirror setting for /etc/apt/sources.list (default: "", leaves the file unchanged)
```bash
LXC_TEMPLATE_SET_MIRROR=""
```
### LXC_ROOTFS_SIZE
Defines the size in GB of the LXC container's root filesystem (default: 32)
```bash
@ -28,6 +33,11 @@ Defines the size in GB your LXC container's filesystem shared by Zamba (AD membe
```bash
LXC_SHAREFS_SIZE="100"
```
### LXC_SHAREFS_BINDMOUNT
Defines a the host system folder to be bind-mounted and shared by Zamba. Requires LXC_SHAREFS_SIZE > 0 but ignores the value. (AD member & standalone) (default: "")
```bash
LXC_SHAREFS_BINDMOUNT="/host/folder"
```
### LXC_SHAREFS_STORAGE
Defines the Proxmox storage where your LXC container's filesystem shared by Zamba will be generated (default: local-zfs)
```bash

View File

@ -14,6 +14,9 @@
# Defines the Proxmox storage where your LXC container template are stored (default: local)
LXC_TEMPLATE_STORAGE="local"
# Delault mirror setting for /etc/apt/sources.list (default: "", leaves the file unchanged)
LXC_TEMPLATE_SET_MIRROR=""
# 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"
@ -26,6 +29,8 @@ LXC_SHAREFS_SIZE="100"
LXC_SHAREFS_STORAGE="local-zfs"
# Defines the mountpoint of the filesystem shared by Zamba inside your LXC container (default: tank)
LXC_SHAREFS_MOUNTPOINT="tank"
# Defines a the host system folder to be bind-mounted and shared by Zamba. Requires LXC_SHAREFS_SIZE > 0 but ignores the value. (AD member & standalone) (default: "")
LXC_SHAREFS_BINDMOUNT=""
# Defines the amount of RAM in MB your LXC container is allowed to use (default: 1024)
LXC_MEM=1024