Update docs/tech_docs/OpenWrt.md
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
Use the following command to create a new container with reduced memory and storage:
|
Use the following command to create a new container with reduced memory and storage:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pct create 100 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz --unprivileged 1 --arch amd64 --ostype unmanaged --hostname openwrt-01 --tag network --storage local-lvm --memory 128 --swap 0 --rootfs local-lvm:1,size=512M \
|
pct create 100 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz --unprivileged 1 --arch amd64 --ostype unmanaged --hostname openwrt-0 --tag network --storage local-lvm --memory 128 --swap 0 --rootfs local-lvm:1,size=512M \
|
||||||
--net0 name=eth0,bridge=vmbr0,firewall=1 \
|
--net0 name=eth0,bridge=vmbr0,firewall=1 \
|
||||||
--net1 name=eth1,bridge=vmbr1,firewall=1
|
--net1 name=eth1,bridge=vmbr1,firewall=1
|
||||||
```
|
```
|
||||||
@@ -56,7 +56,7 @@ config interface 'lan'
|
|||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
130 dd
|
130 j
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user