Install VM via ISO

Am I assuming correctly that this command:

echo -n '-drive file=/home/USER/Downloads/Win10_1909_English_x64.iso,index=0,media=cdrom,if=ide
-drive file=/home/USER/Downloads/virtio-win-0.1.173.iso,index=1,media=cdrom,if=ide' | lxc config set win10 raw.qemu -

can be modified for other ISOs as well?


The virtio ISO is obviously required for stock Windows ISOs. Some remastered Windows ISOs may not require it but does not hurt to include it when you boot up.

Ok, thx for the confirmation (I don’t use VMs very often anymore).

I might put that into the advanced guide as well.

Some more questions regarding the instructions:

  1. I guess this is necessary for installation:
    lxc config set win10 raw.apparmor "/home/** rwk,"
    Am I assuming correctly that this refers to the path on the host?
    And can you set it directly to the .iso files path?
    And should one unset this, after installation?

  2. Is it necessary to enter the firmware menu?