diff --git a/wile_coyote/bin/coyote b/wile_coyote/bin/coyote index 500b4b85a224042be9bf1fc3884e2cf41e437660..75774e9be78b6bb51499f1d6d5a313115c1d5e41 100755 --- a/wile_coyote/bin/coyote +++ b/wile_coyote/bin/coyote @@ -89,11 +89,12 @@ def run_cbot(start, cbot_dom, prov, action, reuse_key, force, dry, w_card=None, domain_list = f"-d {' -d '.join(list(cbot_dom))}" extra_cmd = f" {' '.join(extra_cmds)}" if extra_cmds else "" - cbot_cmd = ( + _cbot_cmd = ( f"/usr/local/bin/certbot {action} --non-interactive" + f" -c /etc/{prov}/cli.ini --cert-name {cbot_dom[0]}" + f" {domain_list} {dry} {force} {reuse_key} {extra_cmd}" ) + cbot_cmd = ' '.join(_cbot_cmd.split()) log.handler(f"executing: {cbot_cmd}", LOG_FILE)