mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-27 09:21:59 -06:00
Quote multiple workers option
https://fedorahosted.org/freeipa/ticket/2023
This commit is contained in:
parent
4833b208b2
commit
9bdbdbc0f3
@ -331,7 +331,7 @@ class KrbInstance(service.Service):
|
||||
replacevars = {'KRB5REALM':self.realm}
|
||||
appendvars = {}
|
||||
if workers and cpus > 1:
|
||||
appendvars = {'KRB5KDC_ARGS': "-w %s" % str(cpus)}
|
||||
appendvars = {'KRB5KDC_ARGS': "'-w %s'" % str(cpus)}
|
||||
ipautil.backup_config_and_replace_variables(self.fstore, "/etc/sysconfig/krb5kdc",
|
||||
replacevars=replacevars,
|
||||
appendvars=appendvars)
|
||||
|
Loading…
Reference in New Issue
Block a user