<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/14/2015 09:58 AM, zhiyong xue
wrote:<br>
</div>
<blockquote
cite="mid:CABpc0wi1pAA2MVwcXWVU4t1tBOwBOANuzHPRFryDTfOnZBkPpQ@mail.gmail.com"
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>
I am working on such a feature:
<a class="moz-txt-link-freetext" href="https://github.com/richm/rdo-vm-factory/tree/master/rdo-ipa-nova">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<br>
<br>
<blockquote
cite="mid:CABpc0wi1pAA2MVwcXWVU4t1tBOwBOANuzHPRFryDTfOnZBkPpQ@mail.gmail.com"
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 moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>