Unattended Install - freeipa-client (3.2.1-0ubuntu1)

Asked by Ken

I'm in need of an unattended install of the ubuntu freeipa-client, yet when I install the package, it keeps automatically running the ipa-client-install script. In unattended mode, this just breaks things.

To make matters worse, I can't sucessfully do a ipa-client-install --uninstall either, so I'm completely stuck trying to fix the problem.

Note that I can easily run the install manually and everything works - just need an automated method.

Is there a way I can install this package, then as a second step run the ipa-client-install and in this manner I can pass it all the correct variables in to get it configured properly.

I'm trying to install this package on a Ubuntu 13.10 fresh instance.

Any advise is much appreciated!

Ken

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu freeipa Edit question
Assignee:
No assignee Edit question
Solved by:
Ken
Solved:
Last query:
Last reply:
Revision history for this message
Ken (kaginken) said :
#1

it turns out, it was the krb5-config dependency wreaking all the havoc. The solution was to:

sudo debconf-set-selections <<< 'krb5-config krb5-config/kerberos_servers string <kerbserver.domain>'
sudo debconf-set-selections <<< 'krb5-config krb5-config/default_realm string DOMAIN'
sudo debconf-set-selections <<< 'krb5-config krb5-config/admin_server string <kerbserver.domain>'