Thanks Derek,
GitHub or GitLab probably.
Regards,
Paul S.
________________________________
From: Derek Atkins <derek(a)ihtfp.com>
Sent: 27 May 2020 15:50
To: Gianluca Cecchi <gianluca.cecchi(a)gmail.com>
Cc: thomas(a)hoberg.net <thomas(a)hoberg.net>; users <users(a)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(a)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(a)ihtfp.com
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ihtf...
Computer and Internet Security Consultant
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement:
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovi...
oVirt Code of Conduct:
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovi...
List Archives:
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.o...
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/