Update docs/tech_docs/OPENwrt.md
This commit is contained in:
@@ -4,10 +4,17 @@ 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:
|
||||
|
||||
### Container 1
|
||||
```bash
|
||||
pct create 100 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz --unprivileged 1 --ostype unmanaged --hostname openwrt-0 --storage local-lvm \
|
||||
pct create 101 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz --unprivileged 1 --architecture amd64 --ostype unmanaged --hostname openwrt-0 --storage local-lvm \
|
||||
--net0 name=eth0,bridge=vmbr0,firewall=1 \
|
||||
--net1 name=eth1,bridge=vmbr1,firewall=1 \
|
||||
--net1 name=eth1,bridge=vmbr1,firewall=1
|
||||
```
|
||||
### Container 2
|
||||
```bash
|
||||
pct create 101 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz --unprivileged 1 --architecture amd64 --ostype unmanaged --hostname openwrt-0 --storage local-lvm \
|
||||
--net0 name=eth0,bridge=vmbr0,firewall=1 \
|
||||
--net1 name=eth1,bridge=vmbr2,firewall=1
|
||||
```
|
||||
|
||||
This command creates an unprivileged container with ID 106, using an OpenWRT root filesystem. It configures three network interfaces:
|
||||
|
||||
Reference in New Issue
Block a user