[Users] Passing a hint/message to a VM when it boots

Itamar Heim iheim at redhat.com
Sun Mar 25 12:32:51 UTC 2012


On 03/22/2012 02:21 PM, Kyrre Begnum wrote:
> Hi,
> yes, using a kernel boot option would be nice, and there is an option
> for it in Ovirt, but I am not getting it to work. When i want to specify
> a boot parameter, I also have to specify a kernel path. When i specify
> the internal kernel, the VM fails to boot. Is this supposed to be an
> "external" kernel ( like paravirtualized Xen? )

any kernel should work. question is if the path you are using has 
permissions for vdsm to use (check the log)

>
> On 03/16/2012 11:11 PM, Itamar Heim wrote:
>> On 03/16/2012 03:05 PM, Kyrre Begnum wrote:
>>> Hello,
>>>
>>> when creating a new VM from a template, i'd like to pass a hint of some
>>> sort ( perhaps a hostname ) to it so that the internal config managment
>>> system can do the rest of the setup. This should also be programmable
>>> via the REST API, as I want to use it for automated deployments.
>>>
>>> Has anyone had success doing this with Ovirt? i can only see two
>>> approaches:
>>>
>>> - Put the hint in a floppy / iso and mount it on the VM.
>>> - Hardcode a MAC address and let a DHCP server provide the hostname
>>
>> did you try the kernel boot options?
>>
>>>
>>> Both of these do not seem very optimal to me. I'd appreciate some
>>> thoughts from the community on how to proceed.
>>>
>>> Thanks in advance,
>>> k
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>




More information about the Users mailing list