<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 11:28 AM, Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com" target="_blank">berrange@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">On Tue, Nov 26, 2013 at 10:53:54AM -0500, Howard Luckenbaugh wrote:<br>
> Does anyone know the password and userid in the RHEL 6.4 OpenStack KVM<br>
> image on Redhat's website located here. I can install the image and boot<br>
> the vm but can't into it. I am trying to get cloud-init working.<br>
><br>
><br>
> <a href="https://rhn.redhat.com/rhn/software/channel/downloads/Download.do?cid=16952" target="_blank">https://rhn.redhat.com/rhn/software/channel/downloads/Download.do?cid=16952</a><br>
<br>
</div>I'm fairly sure that there is no default password set at all. Working<br>
cloud-init would be the only way to get a login to it.<br>
<br></blockquote><div><br></div><div>You can also configure OpenStack to inject a random root password into the instance on boot (documentation pending: <a href="https://review.openstack.org/58427">https://review.openstack.org/58427</a>). <br>
<br></div><div>Assuming you're using KVM:<br></div><div><br>In havana, in /etc/nova/nova.conf:<br><br>[libvirt]<br>inject_password=true<br><br></div><div>In grizzly and earlier:<br></div><div><br>[DEFAULT]<br></div><div>
libvirt_inject_password=true<br><br></div><div><br></div><div>When you boot the instance, the output of the "nova boot" command should show you the randomly generated root password. <br><br></div><div>You can also set the root password by doing:<br>
<br></div><div>nova root-password <server><br><br></div><div>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.<br><br></div><div>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.<br>
<br></div><div><br></div><div>Lorin<br></div><div><br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Regards,<br>
Daniel<br>
<span class=""><font color="#888888">--<br>
|: <a href="http://berrange.com" target="_blank">http://berrange.com</a> -o- <a href="http://www.flickr.com/photos/dberrange/" target="_blank">http://www.flickr.com/photos/dberrange/</a> :|<br>
|: <a href="http://libvirt.org" target="_blank">http://libvirt.org</a> -o- <a href="http://virt-manager.org" target="_blank">http://virt-manager.org</a> :|<br>
|: <a href="http://autobuild.org" target="_blank">http://autobuild.org</a> -o- <a href="http://search.cpan.org/~danberr/" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: <a href="http://entangle-photo.org" target="_blank">http://entangle-photo.org</a> -o- <a href="http://live.gnome.org/gtk-vnc" target="_blank">http://live.gnome.org/gtk-vnc</a> :|<br>
</font></span><div class=""><div class="h5"><br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Lorin Hochstein<br><div>Lead Architect - Cloud Services</div><div>Nimbis Services, Inc.</div><div><a href="http://www.nimbisservices.com" target="_blank">www.nimbisservices.com</a></div>
</div>
</div></div>