For a long time I think that ovirt is missing some CLI tools to help run
quick tasks or just to
automate stuff (not everything is ansible). Also I had to upload disks
using code for
the terraform provider support[1] and I thought I should place all the
knowledge of how
to upload a disk into a go module. So, on the way to achieve both I created
this[2].
A typical usage is:
ovirt-image-upload \
-s
http://fqdn/image
-d <domain-id>
For now it is under my GH user, but if it will all go well I will port
under ovirt-imageio, because
that is probably the right place. (/cc @Nir Soffer <nsoffer(a)redhat.com> )
[1]
https://github.com/oVirt/terraform-provider-ovirt/commit/d48bbca52bbb0c7c...
[2]
https://github.com/rgolangh/ovirt-image-upload
Regards,
Roy