1.下载固件 https://downloads.openwrt.org/releases/22.03.2/targets/x86/64/
在Shell输入以下代码:

1
2
3
4
5
6
7
8
9
10
11
pct create 105 \
local:vztmpl/openwrt-22.03.2-x86-64-rootfs.tar.gz \
--rootfs local-lvm:2 \
--ostype unmanaged \
--hostname OpenWrt \
--arch amd64 \
--cores 1 \
--memory 512 \
--swap 0 \
-net0 bridge=vmbr0,name=eth0 \
-net1 bridge=vmbr1,name=eth1