[Users] Obtain VM name from within VM?

Itamar Heim iheim at redhat.com
Wed Jun 19 08:04:45 EDT 2013


On 06/19/2013 03:03 PM, Yuriy Demchenko wrote:
> On 06/19/2013 02:31 PM, Itamar Heim wrote:
>> On 06/18/2013 10:59 AM, Yuriy Demchenko wrote:
>>> Hi,
>>>
>>> Is VMpayload supported by oVirt 3.2.2 el6?
>>
>> it should be.
>> have you tried first passing payload via the engine?
> erm, not quite understand what do you mean? via admin web-interface?
> there's no fields/options related to payload in web interface, not in
> 'edit vm' dialog, not in 'runonce' dialog (only 'attach cd/floppy',
> 'custom properties' with fixed choice-list and general options).

its not exposed in the UI, but in the engine REST API.

>
>
> However, I've achieved my goal some other way - wrote a hook that fills
> 'SKU Number' bios field (not used by default) with VM name. It appeared
> even more simpler and convenient solution than vmpayload/fileinject.
> Hook is in attach, in case someone interested.

works as well :)


More information about the Users mailing list