<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 12 Jun 2014, at 12:42, Puneet Bakshi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace;display:inline"></div><div class="gmail_default" style="font-family:courier new,monospace">Hi,<br><br>I want to be able to install RPM packages (available in host system at some path) to the guest VM and want this facility to be available as a tool.<br>
<br>I am thinking of having a gemu guest agent (qemu-ga) running inside guest VM. I did not find any available command ("virsh qemu-agent-command <guest_vm> ...") which can do the same.<br></div></div></blockquote><div><br></div><div>why would you use a guest agent (which is primarily targeted for virtualization-related tasks/coordination) rather than a generic remote execution tools (like, well, plain ssh:)</div><div>The only benefit/difference with the guest agent is that it doesn't require a network connection. Do you have such a requirement?</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace"><br>I am planning to implement a command in qemu guest agent, which I can invoke from virsh like below.<br>
<br> "virsh qemu-agent-command vm_01 \<br> '{"execute":"guest-rpm-install", \<br> "arguments":{"path":"/usr/local/bin/ABC.rpm"}}<br>
<br>I am able to pass arguments from host to guest VM but how am I supposed to pass the whole RPM image from host to guest (which the guest agent can receive and install)?<br></div></div></blockquote><div><br></div>exactly;-) So are you trying to come up with something isolated from network completely?</div><div>If not I'd go with a dedicated/different tool</div><div><br></div><div>Thanks,</div><div>michal</div><div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">
Regards,<br></div><div class="gmail_default" style="font-family:courier new,monospace">~Puneet<br></div></div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote></div><br></body></html>