Update docs/tech_docs/OpenWrt.md
This commit is contained in:
@@ -6,6 +6,10 @@ pct create 100 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz \
|
|||||||
--net1 name=eth1,bridge=vmbr1,firewall=1 --cores 1 --cpuunits 500 --onboot 1 --debug 0
|
--net1 name=eth1,bridge=vmbr1,firewall=1 --cores 1 --cpuunits 500 --onboot 1 --debug 0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pct start 200
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pct create 200 /var/lib/vz/template/cache/kali-rootfs.tar.xz \
|
pct create 200 /var/lib/vz/template/cache/kali-rootfs.tar.xz \
|
||||||
--unprivileged 1 --arch amd64 --ostype debian --hostname kali-0 \
|
--unprivileged 1 --arch amd64 --ostype debian --hostname kali-0 \
|
||||||
@@ -14,14 +18,20 @@ pct create 200 /var/lib/vz/template/cache/kali-rootfs.tar.xz \
|
|||||||
--net0 name=eth0,bridge=vmbr0,firewall=1 --cpuunits 1500 --onboot 1 \
|
--net0 name=eth0,bridge=vmbr0,firewall=1 --cpuunits 1500 --onboot 1 \
|
||||||
--debug 0 --features nesting=1,keyctl=1
|
--debug 0 --features nesting=1,keyctl=1
|
||||||
```
|
```
|
||||||
|
```bash
|
||||||
|
pct start 200
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pct create 300 /var/lib/vz/template/cache/alpine-rootfs.tar.xz \
|
pct create 300 /var/lib/vz/template/cache/alpine-rootfs.tar.xz \
|
||||||
--unprivileged 1 --arch amd64 --ostype alpine --hostname alpine-0 \
|
--unprivileged 1 --arch amd64 --ostype alpine --hostname alpine-0 \
|
||||||
--password fuzzy817 --tag docker --storage local-lvm --cores 2 \
|
--password fuzzy817 --tag docker --storage local-lvm --cores 2 \
|
||||||
--memory 1024 --swap 256 --rootfs local-lvm:1,size=8G \
|
--memory 1024 --swap 256 --rootfs local-lvm:1,size=8G \
|
||||||
--net0 name=eth0,bridge=vmbr0,firewall=1 --keyctl 1 --nesting 1 \
|
--net0 name=eth0,bridge=vmbr0,firewall=1 --cpuunits 1000 --onboot 1 \
|
||||||
--cpuunits 1000 --onboot 1 --debug 0
|
--debug 0 --features nesting=1,keyctl=1
|
||||||
|
```
|
||||||
|
```bash
|
||||||
|
pct start 300
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user