This is my first patch to the project, hopefully the first of many!
This patch provides the ability to auto start any VM that registers
itself in libvirt. In the code it works on virts with virt_type of
'qemu'.
A pause was required for the lookupByName(domain_name) call to
succeed. In my testing lookupByName was consistently unable to locate
the domain unless a brief pause was forced before the lookup.
The current behavior should the lookup fail is to throw an InfoException.
This patch closes
https://fedorahosted.org/cobbler/ticket/408 All code
is based off 65bf5c1fa.... from the FedoraHosted git repository.
I look forward to your feedback and working with everyone more in the future.
--- Tim 'Shaggy' Bielawa
http://peopleareducks.com
Tim,
Thank you for your contribution! I have committed your patch to the
master branch in Fedora and I took the liberty of adding you into the
AUTHORS file.
-------------
Regards,
Alex
--
Senior Software Engineer
Red Hat
919.754.4445