上传镜像

 

上传完后获得文件路径

/var/lib/vz/template/iso/DS3615xs.img

进入虚拟机配置文件

nano /etc/pve/qemu-server/101.conf

以上代码中101对应群晖虚拟机ID

代码中 /var/lib/vz/template/iso/DS3615xs.img 对应的是上传的路径

添加以下代码把群晖引导转换为虚拟U盘

args: -device 'qemu-xhci,addr=0x18' -drive 'id=synoboot,file=/var/lib/vz/template/iso/DS3615xs.img,if=none,format=raw' -device 'usb-storage,id=synoboot,drive=synoboot,bootindex=5'

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐