--Apple-Mail=_8B9D0C27-8E3F-4BBF-A71D-90ED912E0890
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
On 12 Jun 2014, at 12:42, Puneet Bakshi wrote:
=E2=80=8B=E2=80=8B
Hi,
=20
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.
=20
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.
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:)
The only benefit/difference with the guest agent is that it doesn't =
require a network connection. Do you have such a requirement?
=20
I am planning to implement a command in qemu guest agent, which I can =
invoke from
virsh like below.
=20
"virsh qemu-agent-command vm_01 \
'{"execute":"guest-rpm-install", \
"arguments":{"path":"/usr/local/bin/ABC.rpm"}}
=20
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)?
exactly;-) So are you trying to come up with something isolated from =
network completely?
If not I'd go with a dedicated/different tool
Thanks,
michal
=20
Regards,
~Puneet
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_8B9D0C27-8E3F-4BBF-A71D-90ED912E0890
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head></head><body style=3D"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=3D"Apple-interchange-newline"><blockquote
type=3D"cite"><div =
dir=3D"ltr"><div class=3D"gmail_default"
style=3D"font-family:courier =
new,monospace;display:inline">=E2=80=8B=E2=80=8B</div><div =
class=3D"gmail_default" style=3D"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=3D"cite"><div
dir=3D"ltr"><div =
class=3D"gmail_default" style=3D"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><bloc=
kquote type=3D"cite"><div dir=3D"ltr"><div
class=3D"gmail_default" =
style=3D"font-family:courier new,monospace"><br></div><div =
class=3D"gmail_default" style=3D"font-family:courier
new,monospace">
Regards,<br></div><div class=3D"gmail_default" =
style=3D"font-family:courier
new,monospace">~Puneet<br></div></div>
_______________________________________________<br>Users mailing =
list<br><a =
href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br>http://lists.ovirt.=
org/mailman/listinfo/users<br></blockquote></div><br></body></html>=
--Apple-Mail=_8B9D0C27-8E3F-4BBF-A71D-90ED912E0890--