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
>>>> 
>>>> 
>>> 
>> 

Reply via email to