<div dir="ltr">Thanks Rich,<br><br>The VMs created by Nova include the domain name or you set static name by "ipa-client-install --hostname `hostname`.mydomain.test" ?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-15 0:14 GMT+08:00 Rich Megginson <span dir="ltr"><<a href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<div>On 10/14/2015 09:58 AM, zhiyong xue
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Yes, that's my problem. These VMs were created by openstack
and generated host name without domain at all. Anyway can let
the new created VM can join domain automatically? <br>
</div>
</div>
</blockquote>
<br></span>
I am working on such a feature:
<a href="https://github.com/richm/rdo-vm-factory/tree/master/rdo-ipa-nova" target="_blank">https://github.com/richm/rdo-vm-factory/tree/master/rdo-ipa-nova</a><br>
<br>
This is not a product yet, just a PoC.<br>
<br>
This allows you to:<br>
* automatically register VMs created by Nova with IPA<br>
* automatically assign DNS A records in IPA when you assign a
floating IP address to a VM<span class=""><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
Thanks Martin.<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-10-14 22:40 GMT+08:00 Martin Kosek
<span dir="ltr"><<a href="mailto:mkosek@redhat.com" target="_blank">mkosek@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 10/14/2015 03:43 PM, zhiyong xue wrote:<br>
> There are lots of VMs created from Openstack in our
envrioment. And we<br>
> need to install IPA client on them. I want to create
a base image which<br>
> have installed IPA client, and generate VM from this
image.<br>
><br>
> When the VM first boot will auto register to IPA
server. But the VM's<br>
> host name has no domain(not a FQDN) and failed to
register.<br>
<br>
</span>How does the client get the domain then? It is
currently needed for the FreeIPA<br>
clients, so you need to either postpone Client registration
until domain is<br>
set, or override the hostname in ipa-client-install with
static domain, like<br>
<br>
# ipa-client-install --hostname `hostname`.mydomain.test<br>
<div>
<div><br>
> What's the right approach to install IPA client
for VMs which cloned<br>
> from base image?<br>
><br>
> Thanks,<br>
> -- Brave<br>
><br>
><br>
><br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</span></div>
<br>--<br>
Manage your subscription for the Freeipa-users mailing list:<br>
<a href="https://www.redhat.com/mailman/listinfo/freeipa-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
Go to <a href="http://freeipa.org" rel="noreferrer" target="_blank">http://freeipa.org</a> for more info on the project<br></blockquote></div><br></div>