diff options
Diffstat (limited to 'ipa-client')
-rw-r--r-- | ipa-client/ipa-install/ipa-client-install | 6 |
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'}) |