Is there a way to load fw_cfg file
in virt-manager
(v1.4.1)?
On the plain QEMU
command line I can do it like so:
-fw_cfg name=opt/com.coreos/config,file=some/file.json
I cannot find equivalent option in the virt-manager
.
qemuvirt-manager
Is there a way to load fw_cfg file
in virt-manager
(v1.4.1)?
On the plain QEMU
command line I can do it like so:
-fw_cfg name=opt/com.coreos/config,file=some/file.json
I cannot find equivalent option in the virt-manager
.
Best Answer
I was informed in the mailing list that:
Fortunately there's a workaround, as it's possible to set this via
virt-xml
/virt-install
.Eg.: you have created a virtual machine in
virt-manager
GUI and named itVM-1
.Now you can attach
fw_cfg
file to your virtual machine by usingvirt-xml
:However note, this is just an experimental feature in
libvirt
, more info here.