[Openstack] Centos 7 root pasword

严超 yanchao727 at gmail.com
Sat Oct 18 07:59:08 UTC 2014


If you want to build ssh-key within the cloud image, you can try
diskimage-builder to build your own cloud image:
https://pypi.python.org/pypi/diskimage-builder/0.1.33

*Best Regards!*


*Chao Yan--------------**My twitter:Andy Yan @yanchao727
<https://twitter.com/yanchao727>*


*My Weibo:http://weibo.com/herewearenow
<http://weibo.com/herewearenow>--------------*

2014-10-18 15:11 GMT+08:00 Mridhul Pax <mridhul at live.com>:

> 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
>
> _______________________________________________
> 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/a65be790/attachment.html>


More information about the Openstack mailing list