
On 21 Feb 2019, at 18:23, Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, Feb 21, 2019 at 2:42 PM Pravin Amin <Pravin.Amin@veritas.com <mailto:Pravin.Amin@veritas.com>> wrote: Hi,
We are looking for a way to copy files and execute scripts inside Virtual Machines hosted on oVirt manager (Any supported guest OS) either through REST API or using Guest Tools. Please let me know how we can achieve it.
I'm not an expert in this area, but I think you have 2 options: - ssh - we have integration in engine, not sure how it can be used
ssh is just a transport for plain serial console. That can be used for scripting indeed It’s not through REST API, you just use ssh as a client from wherever you want plenty of details in [1]
- qemu-guest-agent - I think it supports running commands on a host, but I don't know
remote file exec is blacklisted. And it nyway can’t be invoked from oVirt API Thanks, michal [1] https://resources.ovirt.org/old-site-files/wiki/Ovirt36_deep_dive-guest_seri...
any derails. We integrate with it, but I don't know if we support such options.
I hope that Ryan can help with this.
For qemu-guest-agent, the best place to ask is probably qemu-discuss, added.
Nir
-Thanks,
Pravin Amin
Principal SQA Engineer
Netbackup
Veritas Technologies LLC
Office: (91) 20 - 66157288 / Mobile: (91) 9881139050
pravin.amin@veritas.com <mailto:pravin.amin@veritas.com>
<image001.png> <https://www.veritas.com/product/backup-and-recovery/netbackup-8?om_camp_id=us_em_signature_web_NBU_vr>
This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication.
_______________________________________________ Devel mailing list -- devel@ovirt.org <mailto:devel@ovirt.org> To unsubscribe send an email to devel-leave@ovirt.org <mailto:devel-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ <https://www.ovirt.org/site/privacy-policy/> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/PE7G5WXBGIN5I2... <https://lists.ovirt.org/archives/list/devel@ovirt.org/message/PE7G5WXBGIN5I2O2JHLZZ2A2VTWFWQDN/> _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/NQ4DMCBGIH5QZ4...