From 2049bcf617f062b539f3edd845a2b1efe9930198 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 3 Aug 2026 11:53:47 +0000 Subject: [PATCH] fix: wcli uses -cfg not --config-file --- python/deploy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/deploy.py b/python/deploy.py index 11193b6..6d6cf4e 100644 --- a/python/deploy.py +++ b/python/deploy.py @@ -173,8 +173,8 @@ http {{ # Add config-file to wcli for conf in Path(f"{instance}/etc").glob("*.conf"): c = conf.read_text() - if "wcli run" in c and "--config-file" not in c: - conf.write_text(c.replace("wcli run", f"wcli run --config-file {instance}/etc/wallarm/node.yaml")) + if "wcli run" in c and "-cfg" not in c: + conf.write_text(c.replace("wcli run", f"wcli run -cfg {instance}/etc/wallarm/node.yaml")) # Systemd tmpl = f"""[Unit]