[Openstack] Centos 7 root pasword
Mridhul Pax
mridhul at live.com
Sat Oct 18 07:11:06 UTC 2014
I got the answer.
1. For login via putty, I need use the keypair and login as cloud-user
2. VNCwebconsole lofin was not possible. For that I need to use a custom centos image.
Date: Wed, 15 Oct 2014 22:03:00 +0200
From: juergh at gmail.com
To: shardy at redhat.com
CC: openstack at lists.openstack.org
Subject: Re: [Openstack] Centos 7 root pasword
On Wed, Oct 15, 2014 at 11:33 AM, Steven Hardy <shardy at redhat.com> wrote:
>
> On Tue, Oct 14, 2014 at 01:11:40PM +0530, Mridhul Pax wrote:
> > Hi Friends,
> > I have downloaded a centos 7 image from the following site and created a
> > glance image. Im able to provison a server via that image and the server
> > booted up fine. Any one know how to login to the server ?
> > I tried combinations like root/centos , centos/centos but no luck
> > I downloaded the QCOW2 image from the following link :
> > http://cloud.centos.org/centos/7/devel/
This being a CentOS question, you'd be better off asking for help on the centos-devel mailing list. Anyways, there is no root and no password login for CentOS cloud images. That's the case for most (CentOS, Fedora, Debian, Ubuntu) community-built images which include the cloud-init package and rely on a metadata service to provide a public SSH key for cloud-init to fetch and inject into the instance. You need to create an SSH keypair in OpenStack and specify the key name when launching an instance and then use the private key to ssh to the instance, using user 'centos'.
...Juerg
> You've got some good suggestions already, bug FWIW I find virt-sysprep
> invaluable in these sort of situations:
>
> http://rwmj.wordpress.com/2013/08/02/new-in-virt-sysprep-set-root-and-user-passwords/
>
> It can be used to (amongst other things) set a root password in a cloud
> image for debugging, or run a firstboot script to, for example, disable a
> troublesome service while you debug it.
>
> Steve
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141018/7df9c729/attachment.html>
More information about the Openstack
mailing list