-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Config File
We're looking for testers to try out our new config files feature! If you're interested in getting early access and helping us improve it, we'd love your feedback.
We’ve created a test branch for this feature to avoid disrupting production use of the scripts.
You can install the scripts as usual.
❗ Note: There is currently no support for Alpine Linux.
Please report all issues or feedback in this thread only — not as a new issue or discussion. Any unrelated reports will be closed.
We only offer support for issues related to the config file feature in this context.
Use our scripts from the development repo.
After starting the script, select:
4 Use Config File
Create a config file on your PVE Host before running the scripts.
Default path: /opt/community-scripts/.settings
You may change this path during the script prompt.
If any values are missing in your config file, the script will fall back to default settings.
Caution
Input validation is limited. Incorrect values may break the script.
Name | Value |
---|---|
CT_ID |
LXC ID (single number or range e.g. 100-9999 ) |
var_os |
debian or ubuntu
|
var_version |
Debian: 11 , 12 Ubuntu: 20.04 , 22.04 , 24.04 , 24.10
|
CT_TYPE |
1 = unprivileged, 0 = privileged |
PW |
Root password |
HN |
Container hostname |
DISK_SIZE |
Disk size in GB |
CORE_COUNT |
Number of CPU cores |
RAM_SIZE |
RAM size in MiB |
BRG |
Bridge name (e.g., vmbr0 ) |
NET |
IP address/CIDR (e.g., 192.168.0.1/24 ) |
GATE |
Gateway IP (e.g., 192.168.0.254 ) |
APT_CACHER_IP |
APT-cacher IP (e.g., 192.168.0.2 ) |
DISABLEIP6 |
yes or no
|
MTU |
Network MTU (e.g., 1500 ) |
SD |
Search domain (e.g., example.com ) |
NS |
DNS server IP (e.g., 192.168.0.100 ) |
MAC |
MAC address |
VLAN |
VLAN ID (e.g., 100 ) |
TAGS |
Custom tags (semicolon-separated) |
SSH |
yes or no
|
SSH_AUTHORIZED_KEY |
Public SSH key |
VERB |
Verbose mode: yes or no
|
Each value must be wrapped in double quotes:
DISK_SIZE="25"
CORE_COUNT="33"
RAM_SIZE="4500"
HN="TEST"
BRG="vmbr1"
NET="10.10.10.171/24"
GATE="10.10.10.254"
VLAN="100"
SSH="yes"
TAGS="dev;testing"
SSH_AUTHORIZED_KEY="REDACTED"