
----- Original Message -----
From: "穆骏" <z8715000@126.com> To: "Yedidyah Bar David" <didi@redhat.com> Cc: devel@ovirt.org Sent: Tuesday, November 25, 2014 9:19:58 AM Subject: Re:Re: [ovirt-devel] Add a license
Ok first of all ,thank you for your response, I think i've found solution, my task is to add a custom license and validate it before the enviroment customaztion step(stage 6) when user run engine-setup. i'm going to add a interactive msg into _customization function of /usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/core/misc.py .
You can add it even earlier, at STAGE_SETUP, if you want. No need to change existing files - you can add your own file, in your own directory - this way it can be packaged separately, and you'll not need to maintain a custom patch. setup is modular - check how the various files under /usr/share/ovirt-engine/setup are in the different ovirt-engine-*setup* packages. Best, -- Didi