Hi Pratik,

If you are using the KVM hypervisor you need to set the following in the global 
configuration:

enable.additional.vm.configuration =true

set paramaters name: allow.additional.vm.configuration.list.kvm
value: tpm , <any other value as per config>

covert the domain XML to URL encoded string and update the virtual machine 
using CMK like below:

update virtualmachine id=fb381aeb-bf31-4011-98d9-c1556f984c70 extraconfig=<URL 
encoded string>

https://www.shapeblue.com/cloudstack-feature-first-look-enable-sending-of-arbitrary-configuration-data-to-vms/

-Jithin

From: Pratik Chandrakar <chandrakarpra...@gmail.com>
Date: Monday, 7 October 2024 at 2:28 PM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Re: Error adding a extraconfig when updating virtual machine
Hello,
I am using CS 4.19.1 and trying to add the extraconfig for tpm from the UI
but it gives me error as "It is not allowed to add setting for extraconfig.
Please update VirtualMachine with extraconfig parameter. " . Please advise

On Thu, Sep 19, 2024 at 4:41 PM Ricardo Pertuz
<ricardo.per...@kuasar.co.invalid> wrote:

> Thanks Wei,
>
> It worked.
>
>
> Atte,
>
> Ricardo Pertuz
>
>
> On 19 Sep 2024 at 6:08 AM -0500, users@cloudstack.apache.org, wrote:
> >
> > allow.additional.vm.configuration.list.kvm
>


--
*Regards,*
*Pratik Chandrakar*

 

Reply via email to