<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Hello David, <br>
In short :<br>
you need to have cloud-init package installed and configured at your image, preferably with non root user, then your metadata server should be running and accessible from your VMs.
<br>
<br>
1. Install cloud-init from epel repo<br>
2. Configure it at /etc/cloudinit/<br>
3. Import the new image<br>
4. Boot new VM and try to log in with the user you configured at the cloudinit config<br>
<br>
Cheers<br>
Cheers<br>
<br>
<br>
<div class="gmail_quote">rhos-list-request@redhat.com wrote:
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<pre class="k9mail">Send rhos-list mailing list submissions to<br> rhos-list@redhat.com<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="https://www.redhat.com/mailman/listinfo/rhos-list">https://www.redhat.com/mailman/listinfo/rhos-list</a><br>or, via email, send a message with subject or body 'help' to<br> rhos-list-request@redhat.com<br><br>You can reach the person managing the list at<br> rhos-list-owner@redhat.com<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of rhos-list digest..."<br><br><br>Today's Topics:<br><br>1. How to use ssh for password-less login on an instance<br>(David Raddatz)<br><br><br><hr><br><br>Message: 1<br>Date: Fri, 18 Oct 2013 15:58:28 +0000<br>From: David Raddatz <draddatz@sgi.com><br>To: "rhos-list@redhat.com" <rhos-list@redhat.com><br>Subject: [rhos-list] How to use ssh for password-less login on an<br>
instance<br>Message-ID:<br> <18CF1869BE7AB04DB1E4CC93FD43702A1B7300B9@P-EXMB2-DC21.corp.sgi.com><br>Content-Type: text/plain; charset="us-ascii"<br><br>Hello,<br><br>I'm using the OpenStack Getting Started guide and other OpenStack docs to try to set up an environment where I can log in to an instance I've created without using a password.  The doc says to create a keypair and I should be able to log in to the instance but I'm always prompted for a password.  This happens if I try to log in as root or if I try to log in to a tester user that I created.  As far as I can tell, the keypair is not doing anything for me since I can log with or without using the keypair if I specify the password.<br><br>Here's what I do: I create a VM image of my own, run virt-sysprep on it, upload into glance, then launch an instance using the keypair that I created.  Then I try to ssh into the instance (with or with the -i keypair option) and I can log in to root when I provide
the password.<br><br>I thought the keypair was supposed to allow password-less login to instances but I can't get it to work.<br><br>Any pointers are appreciated please,<br>Dave<br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="https://www.redhat.com/archives/rhos-list/attachments/20131018/01955524/attachment.html">https://www.redhat.com/archives/rhos-list/attachments/20131018/01955524/attachment.html</a>><br><br><hr><br><br><hr><br>rhos-list mailing list<br>rhos-list@redhat.com<br><a href="https://www.redhat.com/mailman/listinfo/rhos-list">https://www.redhat.com/mailman/listinfo/rhos-list</a><br><br>End of rhos-list Digest, Vol 15, Issue 8<br>****************************************<br></pre>
</blockquote>
</div>
<br>
-- <br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity. <br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.<br>
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:<br>
http://www.tid.es/ES/PAGINAS/disclaimer.aspx<br>
</font>
</body>
</html>