Hello!.
I’m trying to do this. The usual
lxc config device add linuxVM storage disk source=/mnt/storage/ path=/mnt/storage/
that works with with linux VM does not work (or I don’t know how to make it work) with my Windows 10 VM.
I’ve read that you can do this
qemu-system-x86_64 \
-net user,smb=/absolute/path/to/folder \
-net nic,model=virtio \
And see it into Windows 10 VM as a network share, but I don’t know how to do this in LXD.
Is this the right way? Can you help, please?
EDIT: I’ve used the lxc config set w10 raw.qemu – “-net user,smb=/mnt/storage --net nic,model=virtio”. But it gives me an error, and cannot boot.
qemu-system-x86_64:/var/log/lxd/w10-2/qemu.conf:78: PCI: slot 1 function 0 not available for pcie-root-port, in use by virtio-net-pci,id=(null)
I feel I’m in the way…