<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><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 class="">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 class="HOEnZb"><div class="h5"><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>