<p dir="ltr">Hello,</p>
<p dir="ltr">Personally, I include at a minimum three unique public keys and would also like to allow the end user to include their public keys as well.</p>
<p dir="ltr">That said, the context script just reads the SSH_PUBLIC_KEY from the template, so as long as each key is new line terminated the keys end up in the correct format in authorized_keys. </p>
<p dir="ltr">E.g.</p>
<p dir="ltr">SSH_PUBLIC_KEY = "ssh-rsa abc123 for@bar<br>
ssh-rsa def456 bar@bar<br>
ssh-rsa hij789 baz@bar"</p>
<p dir="ltr">Produces a properly formatted authorized_keys</p>
<p dir="ltr">(I really wish ssh keys were by default shown at the bottom of the template when you create the template in sunstone, it's easy enough to change, but it got old having to modify every template after creating it)</p>
<p dir="ltr">Does this new functionality change that? </p>
<p dir="ltr">Thanks,<br>
Jon aa</p>
<div class="gmail_quote">On Jul 15, 2013 8:05 AM, "Daniel Molina" <<a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 July 2013 15:53, Daniel Molina <span dir="ltr"><<a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><span style="font-family:arial,sans-serif;font-size:13px">Hi all,</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">We are working on a new simplified sunstone view [1], that has been requested by several users. </div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><a href="https://twitter.com/dmamolina/status/355634576577679360" target="_blank">https://twitter.com/dmamolina/status/355634576577679360</a><br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">In this view a user will be able to instantiate a new Virtual Machine in three steps:<br></div>
<div style="font-family:arial,sans-serif;font-size:13px"> 1. Select a name and a number of vms</div><div style="font-family:arial,sans-serif;font-size:13px"> 2. Select an instance type. </div><div style="font-family:arial,sans-serif;font-size:13px">
3. Select the OS image for this instance(s)</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">An instance type is an OpenNebula template instead of an erb file. Therefore, administrators can prepare as many templates (instance types) as they want and make them available to different users/groups. </div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>In OpenNebula 4.0, the merge action [1] was included for templates. This action allows us to define a base template and instantiate new virtual machines providing extra information to this template. <br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">These templates must define all the required information such as network, capacity, placement.. and leave the OS disk undefined, so the user can specify the desired image</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Feedback</div><div style="font-family:arial,sans-serif;font-size:13px">
=======</div><div style="font-family:arial,sans-serif;font-size:13px">We would like to ask you (the community) if you are missing anything in this view or if you would like to include anything else in this kind of scenario.</div>
</div></div></div></blockquote><div><br></div><div><br></div><div>Actually, there is a request from a tweet of Ricardo Duarte, where he wrote that the keypair and user data is missing.</div><div><br></div><div>Currently, OpenNebula provides a way to define a default keypair per user and automatically include it in the virtual machine</div>
<div> 1 Defiine a SSH_PUBLIC_KEY in the user template</div><div> 2 Include this variable in the CONTEXT section of the base template (there is a checkbox in Sunstone for this):</div><div> SSH_PUBLIC_KEY = '$USER[SSH_PUBLIC_KEY]'</div>
<div><br></div><div>Is this enough or are you using more than one keypair per user? </div><div><br></div><div>Cheers</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thank you for your feedback</div></div></div><div style="font-family:arial,sans-serif;font-size:13px">
<div><br>
</div><div><div><div>[1] <a href="http://opennebula.org/documentation:rel4.0:vm_guide#merge_use_case" target="_blank">http://opennebula.org/documentation:rel4.0:vm_guide#merge_use_case<br clear="all"><div><br>
</div>-- <br></a></div></div><div dir="ltr">
<a href="http://opennebula.org/documentation:rel4.0:vm_guide#merge_use_case" target="_blank"></a><div><a href="http://opennebula.org/documentation:rel4.0:vm_guide#merge_use_case" target="_blank">Join us at </a><a href="http://opennebulaconf.com/" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>
</div><div>--</div>Daniel Molina<br>Project Engineer<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Join us at <a href="http://opennebulaconf.com/" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br></div><div>--</div>
Daniel Molina<br>Project Engineer<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
</div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div>