From 02b6b189ef0b9351972584c464aa92f7bedc6812 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Wed, 21 Aug 2024 19:16:07 -0400 Subject: [PATCH] commands: pass instance config to ctdb etc setup Pass instance config to ctdb etc setup that will allow the use of public addresses configuration. Signed-off-by: John Mulligan --- sambacc/commands/initialize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sambacc/commands/initialize.py b/sambacc/commands/initialize.py index ddd9b4f..6afcead 100644 --- a/sambacc/commands/initialize.py +++ b/sambacc/commands/initialize.py @@ -70,7 +70,7 @@ def _ctdb_nodes_exists(ctx: Context) -> None: def _ctdb_etc_files(ctx: Context) -> None: if ctx.instance_config.with_ctdb and ctx.expects_ctdb: _logger.info("Ensuring ctdb etc files") - ctdb.ensure_ctdbd_etc_files() + ctdb.ensure_ctdbd_etc_files(iconfig=ctx.instance_config) @setup_steps.command("share_paths")