26 Apr
2023
26 Apr
'23
13:05
On 2023-04-26 12:47, Per Jessen wrote:
Carlos E. R. wrote:
On 2023-04-26 08:45, Per Jessen wrote:
Carlos E. R. wrote:
(Can I write comments in xml file /etc/firewalld/zones/external.xml?)
Yes, use "<!-- comment -->". Can span multiple lines.
Ah. Thanks.
Ah, Andrei notes that perhaps they will not be preserved. Ok, I can only try.
It depends on how that file is being managed - if individual elements are being added/removed, your comments might well be kept - but if the XML format is only used as storage, your comments most probably won't be kept.
Then the file should have a machine written comment at the top: do not edit, automatically generated file. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)