Skip to content

Commit 02b6b18

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
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 <[email protected]>
1 parent 112f5d3 commit 02b6b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sambacc/commands/initialize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _ctdb_nodes_exists(ctx: Context) -> None:
7070
def _ctdb_etc_files(ctx: Context) -> None:
7171
if ctx.instance_config.with_ctdb and ctx.expects_ctdb:
7272
_logger.info("Ensuring ctdb etc files")
73-
ctdb.ensure_ctdbd_etc_files()
73+
ctdb.ensure_ctdbd_etc_files(iconfig=ctx.instance_config)
7474

7575

7676
@setup_steps.command("share_paths")

0 commit comments

Comments
 (0)