[ovirt-devel] Hello and a question about VM Custom Property

Omer Frenkel ofrenkel at redhat.com
Wed Oct 21 10:44:01 UTC 2015


On Tue, Oct 20, 2015 at 4:00 PM, zhukaijie <kjzhu14 at is.ac.cn> wrote:

> Hello, recently I have read something about VM custom properties. There is
> a question I'm thinking about. If a VM A has a custom property named
> PARAM. I set VM A'S PARAM a value. Then before I start the VM from web,
> where is the PARAM value stores? Does it store in Postgresql? Thank you.
>

​if you do: edit-vm to set the property value, then it is saved in the db,
you can see it by running the following in the db:
 select vm_name,userdefined_properties,predefined_properties from vms ;

​if you set the property value in run-once, then the value is not saved in
the db,
and passed to the host as part of the run ('create') command.
​



> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20151021/a473de54/attachment-0001.html>


More information about the Devel mailing list