summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2007-12-04 09:01:40 -0500
committerSimo Sorce <ssorce@redhat.com>2007-12-04 09:01:40 -0500
commit25c542870dc59db59008d7c683f4f12596d68a1e (patch)
treeae1d1f52cf62d710d04d1d3b82c6b3acc9d871c8
parent03fe2a8d6a4b4e8b580e5a11caac877f822617c0 (diff)
downloadfreeipa-25c542870dc59db59008d7c683f4f12596d68a1e.tar.gz
freeipa-25c542870dc59db59008d7c683f4f12596d68a1e.tar.xz
freeipa-25c542870dc59db59008d7c683f4f12596d68a1e.zip
Fix client installation tool
-rw-r--r--ipa-client/ipa-install/ipa-client-install6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install
index fccdac3bd..bc8e7c9c3 100644
--- a/ipa-client/ipa-install/ipa-client-install
+++ b/ipa-client/ipa-install/ipa-client-install
@@ -131,8 +131,10 @@ def main():
opts = [{'name':'comment', 'type':'comment', 'value':'File modified by ipa-client-install'},
{'name':'empty', 'type':'empty'}]
- defopts.append({'name':'server', 'type':'option', 'value':ds.getServerName()})
- defopts.append({'name':'realm', 'type':'option', 'value':ds.getRealmName()})
+
+ #[defaults]
+ defopts = [{'name':'server', 'type':'option', 'value':ds.getServerName()},
+ {'name':'realm', 'type':'option', 'value':ds.getRealmName()}]
opts.append({'name':'defaults', 'type':'section', 'value':defopts})
opts.append({'name':'empty', 'type':'empty'})