On Tue, Nov 26, 2013 at 11:28 AM, Daniel P. Berrange <[email protected]>wrote:
> On Tue, Nov 26, 2013 at 10:53:54AM -0500, Howard Luckenbaugh wrote: > > Does anyone know the password and userid in the RHEL 6.4 OpenStack KVM > > image on Redhat's website located here. I can install the image and > boot > > the vm but can't into it. I am trying to get cloud-init working. > > > > > > > https://rhn.redhat.com/rhn/software/channel/downloads/Download.do?cid=16952 > > I'm fairly sure that there is no default password set at all. Working > cloud-init would be the only way to get a login to it. > > You can also configure OpenStack to inject a random root password into the instance on boot (documentation pending: https://review.openstack.org/58427). Assuming you're using KVM: In havana, in /etc/nova/nova.conf: [libvirt] inject_password=true In grizzly and earlier: [DEFAULT] libvirt_inject_password=true When you boot the instance, the output of the "nova boot" command should show you the randomly generated root password. You can also set the root password by doing: nova root-password <server> Note that the image must be configured to allow incoming ssh as root. I don't know if the RHEL image has been configured this way. OpenStack assumes by default that the first partition is the one that contains the root filesystem (in particular, the one with /etc). Otherwise, you'll have to muck about with the (libvirt_)inject_partition config option. Lorin > Regards, > Daniel > -- > |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/:| > |: http://libvirt.org -o- http://virt-manager.org:| > |: http://autobuild.org -o- http://search.cpan.org/~danberr/:| > |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc:| > > _______________________________________________ > Mailing list: > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : [email protected] > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > -- Lorin Hochstein Lead Architect - Cloud Services Nimbis Services, Inc. www.nimbisservices.com
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
