summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/krbinstance.py
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2011-10-25 18:41:32 +0300
committerMartin Kosek <mkosek@redhat.com>2011-10-25 18:11:00 +0200
commit9bdbdbc0f32b87d0fcdc2b9faa98e7c674b2464d (patch)
tree39da925483f23b3501ce30ff16e720bffe6648c5 /ipaserver/install/krbinstance.py
parent4833b208b2337678148acc945fbe9825beebf5e2 (diff)
downloadfreeipa-9bdbdbc0f32b87d0fcdc2b9faa98e7c674b2464d.tar.gz
freeipa-9bdbdbc0f32b87d0fcdc2b9faa98e7c674b2464d.tar.xz
freeipa-9bdbdbc0f32b87d0fcdc2b9faa98e7c674b2464d.zip
Quote multiple workers option
https://fedorahosted.org/freeipa/ticket/2023
Diffstat (limited to 'ipaserver/install/krbinstance.py')
-rw-r--r--ipaserver/install/krbinstance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/krbinstance.py b/ipaserver/install/krbinstance.py
index c3afe96c5..fa47e09ec 100644
--- a/ipaserver/install/krbinstance.py
+++ b/ipaserver/install/krbinstance.py
@@ -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)