It is a regular expression for free text.
For other properties it would be different :
'pincpu=^[0-9]+$' only numbers
sap_agent=^(true|false)$' only true or false
On Wed, Mar 22, 2017 at 12:28 PM, TranceWorldLogic . <
tranceworldlogic(a)gmail.com> wrote:
Hi,
Regarding command => engine-config -s UserDefinedVMProperties='vmdis
k=^.*$'
How you come to know about "^.*$" to set for vmdisk ?
Please explain in detail.
Thanks,
~Rohit
On Wed, Mar 22, 2017 at 1:07 PM, Fred Rolland <frolland(a)redhat.com> wrote:
> Hi,
>
> I assume you are referring to the vmdisk hook [1] ?
> First, you need to install the hook on the host.
>
>
> To display the existing VM properties:
> engine-config -g UserDefinedVMProperties
>
> Add the vmdisk property, you will have to select the DC version:
> engine-config -s UserDefinedVMProperties='vmdisk=^.*$'
>
> Check that value is configured:
> engine-config -g UserDefinedVMProperties
>
> Restart the engine.
>
> Now, it should be available in the UI.
>
>
> [1]
https://www.ovirt.org/develop/developer-guide/vdsm/hook/vmdisk/
>
>
> On Wed, Mar 22, 2017 at 8:44 AM, TranceWorldLogic . <
> tranceworldlogic(a)gmail.com> wrote:
>
>> Hi,
>>
>> I want to use local storage for VM and hence I want to enable vmdisk
>> custom property in ovirt.
>> How to enable vmdisk in ovirt-engine ?
>>
>> Thanks,
>> ~Rohit
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)ovirt.org
>>
http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>