ctdb-scripts: filter out comments in public_addresses file
authorRalph Boehme <slow@samba.org>
Wed, 8 Sep 2021 14:53:12 +0000 (16:53 +0200)
committerMartin Schwenke <martins@samba.org>
Tue, 12 Oct 2021 22:38:32 +0000 (22:38 +0000)
commit530e8d4b9e47601b88e20bcaefa2d502efcebe60
tree716e8b70e4e2e36e570596489ebc1e8262747168
parent0a376b23dbaaec551d0ed48b7098129c09eec1bc
ctdb-scripts: filter out comments in public_addresses file

Note that order of sed expressions matters: the expression to delete
comment lines must come first as the second expression would transform

  # comment

to

  comment

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14826

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/config/events/legacy/10.interface.script
ctdb/config/functions