Fix easyrsa build-client-full command

Signed-off-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
This commit is contained in:
Dmitry Shurupov 2025-05-30 20:07:40 +07:00
parent 7ddb49bfbc
commit d76966a39e
No known key found for this signature in database

View File

@ -992,7 +992,7 @@ func (oAdmin *OvpnAdmin) userCreate(username, password string) (bool, string) {
log.Error(err)
}
} else {
o := runBash(fmt.Sprintf("cd %s && %s build-client-full %s nopass 1>/dev/null", *easyrsaDirPath, *easyrsaBinPath, username))
o := runBash(fmt.Sprintf("cd %s && %s --batch build-client-full %s nopass 1>/dev/null", *easyrsaDirPath, *easyrsaBinPath, username))
log.Debug(o)
}