如何在PVE(Proxmox)中安装OpenWrt软路由?
出处:https://blog.itwk.cc/post/pve_install_openwrt.html工具准备WinSCP或者XFTPOpenWrt镜像(自行寻找)安装好PVE的主机一台安装教程镜像上传将下载好的OpenWrtimg镜像上传到 PVE主机中(这里使用XFTP工具)选择SFTP 点击确定,选择刚刚添加的主机。点击连接输入用户名及密码。登录后将img镜像拖拽到PVE主机中即可创建虚拟机以下教程中没有提到的地方自行配置即可,CPU MEM按需分配!将镜像导入到OpenWrt虚拟机打开PVE中的Shell控制台,如下图执行如下命令 将bleach-xxx.img镜像附加到id为999的这台虚拟机上,就是OpenWrt的虚拟机 存储位置为localroot@Home:~# qm importdisk 999 bleach-mini-20221231-openwrt-x86-64-generic-squashfs-combined-efi.img localimporting disk'bleach-mini-20221231-openwrt-x86-64-generic-squashfs-combined-efi.img'to VM999... Formatting'/var/lib/vz/images/999/vm-999-disk-0.raw',fmt=rawsize=1090813440preallocation=off transferred0.0B of1.0GiB(0.00%)transferred12.0MiB of1.0GiB(1.15%)transferred24.0MiB of1.0GiB(2.31%)transferred36.0MiB of1.0GiB(3.46%)transferred48.0MiB of1.0GiB(4.61%)transferred60.0MiB of1.0GiB(5.77%)transferred72.0MiB of1.0GiB(6.92%)transferred84.0MiB of1.0GiB(8.07%)transferred96.0MiB of1.0GiB(