[rhos-list] rhos-list Digest, Vol 15, Issue 8
Ivan Stoykov
epgbcn4 at tid.es
Fri Oct 18 16:17:57 UTC 2013
Hello David,
In short :
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.
1. Install cloud-init from epel repo
2. Configure it at /etc/cloudinit/
3. Import the new image
4. Boot new VM and try to log in with the user you configured at the cloudinit config
Cheers
Cheers
rhos-list-request at redhat.com wrote:
Send rhos-list mailing list submissions to
rhos-list at redhat.com
To subscribe or unsubscribe via the World Wide Web, visit
https://www.redhat.com/mailman/listinfo/rhos-list
or, via email, send a message with subject or body 'help' to
rhos-list-request at redhat.com
You can reach the person managing the list at
rhos-list-owner at redhat.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of rhos-list digest..."
Today's Topics:
1. How to use ssh for password-less login on an instance
(David Raddatz)
________________________________
Message: 1
Date: Fri, 18 Oct 2013 15:58:28 +0000
From: David Raddatz <draddatz at sgi.com>
To: "rhos-list at redhat.com" <rhos-list at redhat.com>
Subject: [rhos-list] How to use ssh for password-less login on an
instance
Message-ID:
<18CF1869BE7AB04DB1E4CC93FD43702A1B7300B9 at P-EXMB2-DC21.corp.sgi.com>
Content-Type: text/plain; charset="us-ascii"
Hello,
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.
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.
I thought the keypair was supposed to allow password-less login to instances but I can't get it to work.
Any pointers are appreciated please,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/rhos-list/attachments/20131018/01955524/attachment.html>
________________________________
________________________________
rhos-list mailing list
rhos-list at redhat.com
https://www.redhat.com/mailman/listinfo/rhos-list
End of rhos-list Digest, Vol 15, Issue 8
****************************************
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
________________________________
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.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhos-list/attachments/20131018/171e02a9/attachment.htm>
More information about the rhos-list
mailing list