Hello everyone!
We develop a service VM, working on ISR4300/4400 as a service container, and we have a problem:
If we power off the ISR by button or unplug the cable (hard power off), some files in our VM get corruted and fail the integrity check on VM start. In consequence of which, our daemons do not start properly.
The question is:
Is it possible to turn off caching in YAML definition file in the disk section?
I mean this thing (from libvirt XML):
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
By default, it comes like this:
<disk type="file" device="disk">
<driver name="qemu" type="qcow2"/>
Turnng off caching manually via vman_.xml file on ISR seems to work for us, and files dont get corrupted after hard power off.
Is it possible to turn it off in YAML definition file to put it in our OVA?
Thanks!