Skip to content
Snippets Groups Projects
Unverified Commit 7832c441 authored by Max Adamo's avatar Max Adamo
Browse files

improve command formatting in coyote script

parent df62bded
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ def run_cbot(start, cbot_dom, prov, action, reuse_key, force, dry, w_card=None, ...@@ -92,7 +92,7 @@ def run_cbot(start, cbot_dom, prov, action, reuse_key, force, dry, w_card=None,
cbot_cmd = ( cbot_cmd = (
f"/usr/local/bin/certbot {action} --non-interactive" f"/usr/local/bin/certbot {action} --non-interactive"
+ f" -c /etc/{prov}/cli.ini --cert-name {cbot_dom[0]}" + f" -c /etc/{prov}/cli.ini --cert-name {cbot_dom[0]}"
+ f" {domain_list}{dry}{force}{reuse_key}{extra_cmd}" + f" {domain_list} {dry} {force} {reuse_key} {extra_cmd}"
) )
log.handler(f"executing: {cbot_cmd}", LOG_FILE) log.handler(f"executing: {cbot_cmd}", LOG_FILE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment