
Eh, no point in creating a repo for that, so I just put them on the web: https://www.ihtfp.org/ovirt/ -derek On Wed, May 27, 2020 11:05 am, Staniforth, Paul wrote:
Thanks Derek, GitHub or GitLab probably.
Regards, Paul S. ________________________________ From: Derek Atkins <derek@ihtfp.com> Sent: 27 May 2020 15:50 To: Gianluca Cecchi <gianluca.cecchi@gmail.com> Cc: thomas@hoberg.net <thomas@hoberg.net>; users <users@ovirt.org> Subject: [ovirt-users] AutoStart VMs (was Re: Re: oVirt 4.4.0 Release is now generally available)
Caution External Mail: Do not click any links or open any attachments unless you trust the sender and know that the content is safe.
Hi,
(Sorry if you get this twice -- looks like it didn't like the python script in there so I'm resending without the code)
Gianluca Cecchi <gianluca.cecchi@gmail.com> writes:
Hi Derek, today I played around with Ansible to accomplish, I think, what you currently do in oVirt shell. It was the occasion to learn, as always, something new: as "blocks" in Ansible dont' support looping, a workaround to get that. Furthermore I have a single host environment where it can turn usefull too... [snip]
I found the time to work on this using the Python SDK. Took me longer than I wanted but I think I've got something working now. I just haven't done a FULL test, yet, but a runtime time on the online system works (I commented out the start call).
I still have two files, a vm_list.py which is a config file that contains the list of VMs, in order, and then the main program itself (start_vms.py) which is based on several of the examples available in github.
Unfortunately I can't seem to send the script in email because it's getting blocked by the redhat server -- so I have no idea the best way to share it.
-derek
-- Derek Atkins 617-623-3745 derek@ihtfp.com https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ihtfp.c... Computer and Internet Security Consultant _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.... oVirt Code of Conduct: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.... List Archives: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovir... To view the terms under which this email is distributed, please go to:- http://leedsbeckett.ac.uk/disclaimer/email/
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant