Skip to content

Commit

Permalink
commands: pass instance config to ctdb etc setup
Browse files Browse the repository at this point in the history
Pass instance config to ctdb etc setup that will allow the use of public
addresses configuration.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
  • Loading branch information
phlogistonjohn committed Aug 22, 2024
1 parent 816c7e4 commit 868cec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sambacc/commands/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 868cec8

Please sign in to comment.