Destroyed Config File (markdown)

CanbiZ
2025-12-01 10:41:34 +01:00
parent 049e00aea6
commit e29bd8439b
-77
@@ -1,77 +0,0 @@
You can install the scripts as usual.
> ❗ **Note:** There is currently **no support for Alpine Linux**.
### 🖥️ Run LXC Install Script
Use our scripts from the **development or main repo**.
After starting the script, select:
**`4 Use Config File`**
![Script Menu](https://github.com/user-attachments/assets/5d5e50ef-e7b7-477d-afea-d97a9ed56912)
---
### ⚙️ Config File Setup
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.
![Config File Path](https://github.com/user-attachments/assets/cee64943-caf1-459f-aff8-331c09c1b105)
If any values are missing in your config file, the script will fall back to default settings.
![Defaults](https://github.com/user-attachments/assets/c1a46ab4-73a9-4c02-b371-cf1a07de8fda)
---
## 🔧 Available 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`) |
| `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`) or Range (0.0.0.0/0-0.0.0.0/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` |
---
## 📄 Example Config File
Each value must be wrapped in **double quotes**:
```bash
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"