Hi, I am using script to check /etc/ipa/default.conf now, it works pretty well. Thanks.
On Thu, Aug 6, 2015 at 3:55 PM, Martin Kosek <mko...@redhat.com> wrote: > On 08/04/2015 03:10 PM, Thomas Lau wrote: >> Does anyone know how could I check if client enrolled or not? >> >> trying to automate enrollment process by using generic tool since I am >> using Ubuntu, only ipa-client-install available. > > Hello Thomas, > > I am not aware of some general API/CLI for that. ipa-client-install just > checks > if there is any file in /var/lib/ipa-client/sysrestore or > /etc/ipa/default.conf > exists. > > If you would like some tool to handle it better (maybe "ipa-client-install > --is-installed"?), please file an RFE or ideally send patches, it should not > be > that difficult to implement :-) -- Thomas Lau Director of Infrastructure Tetrion Capital Limited Direct: +852-3976-8903 Mobile: +852-9323-9670 Address: Suite 2716, Two IFC, Central, Hong Kong -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project