From 10f8e81d92982b7b92ba7c4ac19140ca6f0acc8e Mon Sep 17 00:00:00 2001 From: arthur Date: Sat, 18 Oct 2025 21:25:38 +0700 Subject: [PATCH] add batch for easyrsa command --- util/client/generate_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/client/generate_client.py b/util/client/generate_client.py index 145453f..dc285ed 100644 --- a/util/client/generate_client.py +++ b/util/client/generate_client.py @@ -22,7 +22,7 @@ def generate_client_config(username: str): # Step 1: Generate the client certificate print(f"Generating certificate for user: {username}...") try: - command = ["./easyrsa", "build-client-full", username, "nopass"] + command = ["./easyrsa", "--batch", "build-client-full", username, "nopass"] process = subprocess.run( command, cwd=easyrsa_dir,