[ovirt-users] How to enable vmdisk property ?

Fred Rolland frolland at redhat.com
Wed Mar 22 10:39:16 UTC 2017


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 at 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 at 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 at 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 at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170322/976ce127/attachment.html>


More information about the Users mailing list