Thanks for the clarification, Demetrius.
-- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- > From: "Demetrius Tsitrelis" <demetrius.tsitre...@citrix.com> > To: "<dev@cloudstack.apache.org>" <dev@cloudstack.apache.org> > Sent: Monday, 14 July, 2014 9:10:17 PM > Subject: RE: createTemplate API lacks sshkeyenabled? > > For others who may follow this thread later here's a brief (final?) recap: > > The createTemplate API creates a template out of a snapshotted volume from an > existing VM. > The registerTemplate API allows a user to bring in an external template into > CloudStack. The registerTemplate API has an optional parameter named > sshkeyenabled which is supposed to indicate whether the SSH key reset script > is installed on the template. In effect the parameter seems to do nothing > and another user already raised a bug about that: > https://issues.apache.org/jira/browse/CLOUDSTACK-4720 > > Calling the deployVirtualMachine API with the desired SSH key which > determines whether a virtual machine receives the new SSH key. Of course, > the virtual machine must have the SSH key reset script installed. > > -----Original Message----- > From: Harikrishna Patnala [mailto:harikrishna.patn...@citrix.com] > Sent: Thursday, July 03, 2014 11:05 AM > To: <dev@cloudstack.apache.org> > Subject: Re: createTemplate API lacks sshkeyenabled? > > Yes Demetrius, please raise a bug at https://issues.apache.org/jira > > -Harikrishna > > On 03-Jul-2014, at 12:52 am, Demetrius Tsitrelis > <demetrius.tsitre...@citrix.com> wrote: > > > OK, should I raise a bug to remove the parameter (at least from the > > documentation)? > > > > -----Original Message----- > > From: Harikrishna Patnala [mailto:harikrishna.patn...@citrix.com] > > Sent: Tuesday, July 01, 2014 11:14 PM > > To: <dev@cloudstack.apache.org> > > Subject: Re: createTemplate API lacks sshkeyenabled? > > > > sshkeyenabled flag is no where used in the code. > > So even if sshkeyenabled flag is set false we send the SSH public key to > > VR. > > > > IMHO there is no need of this flag, if a user wants to set SSH key to VM, > > ssh key ( "keypair" param ) is passed while deploying the VM and CS sends > > the same to VR. > > > > -Harikrishna > > > > > > On 02-Jul-2014,at 4:45 am, Demetrius Tsitrelis > > <demetrius.tsitre...@citrix.com> wrote: > > > >> I see - thanks. But what if I created a VM from an .ISO? It still seems > >> that I have to use createTemplate to make a template which CloudStack > >> could use, but that API will not let me tell CloudStack that my new VM is > >> running the SSH key reset script! Or is there some other API which I > >> could use to modify CloudStack's details about the new template? > >> > >> -----Original Message----- > >> From: Nux! [mailto:n...@li.nux.ro] > >> Sent: Tuesday, July 01, 2014 2:57 PM > >> To: dev@cloudstack.apache.org > >> Subject: Re: createTemplate API lacks sshkeyenabled? > >> > >> There are no stupid questions. :) > >> > >> Inheritable from the source template of the VM. > >> > >> > >> -- > >> Sent from the Delta quadrant using Borg technology! > >> > >> Nux! > >> www.nux.ro > >> > >> > >> ----- Original Message ----- > >>> From: "Demetrius Tsitrelis" <demetrius.tsitre...@citrix.com> > >>> To: dev@cloudstack.apache.org > >>> Sent: Tuesday, 1 July, 2014 10:48:11 PM > >>> Subject: RE: createTemplate API lacks sshkeyenabled? > >>> > >>> Is it OK if I ask a stupid question? Inheritable from what? > >>> > >>> -----Original Message----- > >>> From: Nux! [mailto:n...@li.nux.ro] > >>> Sent: Tuesday, July 01, 2014 1:35 PM > >>> To: dev@cloudstack.apache.org > >>> Subject: Re: createTemplate API lacks sshkeyenabled? > >>> > >>> Isn't this feature inheritable? > >>> > >>> Lucian > >>> > >>> -- > >>> Sent from the Delta quadrant using Borg technology! > >>> > >>> Nux! > >>> www.nux.ro > >>> > >>> > >>> ----- Original Message ----- > >>>> From: "Demetrius Tsitrelis" <demetrius.tsitre...@citrix.com> > >>>> To: dev@cloudstack.apache.org > >>>> Sent: Tuesday, 1 July, 2014 9:24:55 PM > >>>> Subject: RE: createTemplate API lacks sshkeyenabled? > >>>> > >>>> Thanks, but I am not talking about the UI but the API. > >>>> > >>>> -----Original Message----- > >>>> From: Wei ZHOU [mailto:ustcweiz...@gmail.com] > >>>> Sent: Tuesday, July 01, 2014 1:18 PM > >>>> To: dev@cloudstack.apache.org > >>>> Subject: Re: createTemplate API lacks sshkeyenabled? > >>>> > >>>> ssh key is not fully implemented on UI. > >>>> for example, on instance Wizard, create/register/delete ssh key, > >>>> resetsshkey for vm, register template, etc. > >>>> I have implemented some of them on 4.2 , it need to be changed for > >>>> 4.3/4.4/master > >>>> > >>>> -Wei > >>>> > >>>> > >>>> 2014-07-01 22:06 GMT+02:00 Demetrius Tsitrelis < > >>>> demetrius.tsitre...@citrix.com>: > >>>> > >>>>> registerTemplate has both the passwordenabled and sshkeyenabled > >>>>> parameters. > >>>>> So why doesn't createTemplate have both? Reference: > >>>>> http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/creat > >>>>> eT > >>>>> em > >>>>> plate.html > >>>>> > >>>>> > >>>> > >>> > > > >