pct create 117 \ #序号不能与现有重复

local:vztmpl/openwrt-armvirt-64-generic-rootfs.tar.gz \  #对应上图1及文件名
--rootfs local:0.5 \ #分配硬盘空间 单位G
--ostype unmanaged \
--hostname OpenWrt \  #名称
--arch arm64 \  #架构
--cores 4 \  #核心数
--memory 256 \ #分配内存 单位M
--swap 0 \
-net0 bridge=vmbr0,name=eth0

lxc-attach 117 #进入ssh
/etc/pve/lxc/117.conf #编辑117换成创建例3的CT ID
添加开启wifi

lxc.net.1.type: phys
lxc.net.1.link: wlan0
lxc.net.1.flags: up
lxc.net.1.name: wlan0
分类: 默认分类 标签: 暂无标签

评论

-- 评论已关闭 --