Update docs/tech_docs/OPENwrt.md

This commit is contained in:
2024-04-18 17:49:52 +00:00
parent 8d82faf64d
commit 06fbb9c568

View File

@@ -5,10 +5,9 @@ To set up a Proxmox container (CT) with OpenWRT using the `pct create` command a
First, let's clarify the Proxmox command for creating the container:
```bash
pct create 106 /var/lib/vz/template/cache/rootfs.tar.xz --unprivileged 1 --ostype unmanaged --hostname openwrt --storage local-lvm \
--net0 name=eth0,bridge=vmbr0,firewall=1,gw=192.168.1.1,ip=192.168.1.2/24 \
pct create 100 /var/lib/vz/template/cache/rootfs.tar.xz --unprivileged 1 --ostype unmanaged --hostname openwrt-0 --storage local-lvm \
--net0 name=eth0,bridge=vmbr0,firewall=1 \
--net1 name=eth1,bridge=vmbr1,firewall=1 \
--net2 name=eth2,bridge=vmbr2,firewall=1
```
This command creates an unprivileged container with ID 106, using an OpenWRT root filesystem. It configures three network interfaces: