Proxmox 虚拟机部署Openwrt
原创
©著作权归作者所有:来自51CTO博客作者以谁为师的原创作品,请联系作者获取转载授权,否则将追究法律责任
创建 pve虚拟机
镜像写入磁盘
qm importdisk 虚拟机id Openwrt镜像 转换磁盘的存储路径lvm-thin Or local-lvm
添加新增磁盘
# 网络修改并提交
uci set network.lan.ipaddr=192.168.79.60
uci set network.lan.netmask=255.255.240.0
uci set network.lan.gateway=192.168.64.1
uci commit network
# 重新加载网络
/etc/init.d/network restart
uci show network.lan
# 完整命令
uci set network.lan.proto='static'
uci set network.lan.ipaddr='192.168.10.100'
uci set network.lan.netmask='255.255.255.0'
uci set network.lan.gateway='192.168.10.1'
uci set network.lan.dns='8.8.8.8'
uci commit network
/etc/init.d/network reload
浏览器访问