
Yes, in general augeas can be a solution to this, but I also don't know about it's state regarding multipath support but it could be worth investigating. Am 25.06.2014 17:00, schrieb Federico Simoncelli:
A cleaner way for doing this would be using augeas [1] (especially in the libvirt configuration case). I don't know what's its current status of support for the multipath configuration.
Anyway if we want to pursue the current method I think that parsing, commenting and editing multipath.conf automatically is harder than libvirt.conf (e.g. it contains sections, etc.)
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen