26 Apr
2023
26 Apr
'23
12:47
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. -- Per Jessen, Zürich (13.6°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes