<div dir="ltr"><div><br></div><div>The deployment kernel/ramdisk is supposed to be built by ramdisk-image-create command.<br></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;line-height:16px"><b>ramdisk-image-create -a amd64 fedora deploy-ironic -o /tmp/deploy-ramdisk</b></span><br>
</div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;line-height:16px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;line-height:16px">The deployment kernel/ramdisk is used only for deployment and cannot give a full-fledged system.</span></div>
<div><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;line-height:16px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;line-height:16px">The deploy images are created by <b>"disk-image-create" </b>command. Something like</span></div>
<div><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;line-height:16px"><b>disk-image-create fedora</b></span></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;line-height:16px"><b><br>
</b></span></div><div><font color="#000000" face="monospace"><span style="font-size:12px;line-height:16px">As Clint said, there is root login from console is disabled. Another alternative is you can use the local-config element while running "disk-image-create" so that you can do a root login from the system where you build the deploy image. The local-config will add the ssh keys of the current user building the image to the root user on the cloud image.</span></font></div>
<div><font color="#000000" face="monospace"><span style="font-size:12px;line-height:16px"><br></span></font></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;line-height:16px"><br></span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 10:22 AM, Clint Byrum <span dir="ltr"><<a href="mailto:clint@fewbar.com" target="_blank">clint@fewbar.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excerpts from 严超's message of 2014-06-04 20:34:01 -0700:<br>
<div class="">> BTW, If I run "sudo ./bin/disk-image-create -a amd64 ubuntu deploy-ironic<br>
> -o /tmp/deploy-ramdisk-ubuntu",<br>
> What is the username/password for image deploy-ramdisk-ubuntu ?<br>
<br>
</div>There isn't one. You can write an element if you want to include a<br>
backdoor user. Otherwise, just use nova's SSH keypair capability when<br>
you deploy your image onto boxes.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ramesh
</div>