Writting the configuration file for the libvirt hooks