[Openstack] Centos 7 root pasword
juergh at gmail.com
Wed Oct 15 20:03:00 UTC 2014
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
> > glance image. Im able to provison a server via that image and the
> > 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'.
> You've got some good suggestions already, bug FWIW I find virt-sysprep
> invaluable in these sort of situations:
> 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.
> Mailing list:
> Post to : openstack at lists.openstack.org
> Unsubscribe :
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack