Skip to content

Commit 23c8026

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
commands: pass global options to provision and join calls
This allows the customization of samba DC configuration beyond the core parameters needed for domain provision or join. Signed-off-by: John Mulligan <[email protected]>
1 parent e1d6b1b commit 23c8026

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sambacc/commands/addc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def _prep_provision(ctx: Context) -> None:
8686
domain=domconfig.short_domain,
8787
dcname=dcname,
8888
admin_password=domconfig.admin_password,
89+
options=ctx.instance_config.global_options(),
8990
)
9091

9192

@@ -102,6 +103,7 @@ def _prep_join(ctx: Context) -> None:
102103
domain=domconfig.short_domain,
103104
dcname=dcname,
104105
admin_password=domconfig.admin_password,
106+
options=ctx.instance_config.global_options(),
105107
)
106108

107109

0 commit comments

Comments
 (0)