<div dir="ltr">Hi Alexander,<div><br></div><div>Is there any way to force reboot,if guest-agent removed form the guest machine ??</div><div><br></div><div>Thanks,</div><div>Punit</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Fri, Aug 29, 2014 at 8:08 PM, Alexander Wels <span dir="ltr"><<a href="mailto:awels@redhat.com" target="_blank">awels@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On Friday, August 29, 2014 04:12:01 PM Shanil S wrote:<br>
> Hi Juan,<br>
><br>
> This is the normal reboot of the vm, right ?<br>
><br>
<br>
</div>Yes, you also need to have the guest agent installed on the guest for this to<br>
work properly.<br>
<div class="im HOEnZb"><br>
> > On 08/29/2014 12:09 PM, Shanil S wrote:<br>
> > > Hi All,<br>
> > ><br>
> > > It is found that there is a function like guest reboot (<br>
> > > <a href="http://www.ovirt.org/Features/Guest_Reboot" target="_blank">http://www.ovirt.org/Features/Guest_Reboot</a> ) Is there any rest api<br>
> > > function for doing this guest reboot ? currently i found only one<br>
> > > function for reboot (/api/vms/id/reboot). We are currently using the<br>
> > > Ovirt 3.4.3 version<br>
> ><br>
> > Yes:<br>
> ><br>
> > #!/bin/sh -ex<br>
> ><br>
> > url="<a href="https://ovirt.example.com/ovirt-engine/api" target="_blank">https://ovirt.example.com/ovirt-engine/api</a>"<br>
> > user="admin@internal"<br>
> > password="******"<br>
> ><br>
> > curl \<br>
> > --insecure \<br>
> > --request POST \<br>
> > --header "Accept: application/xml" \<br>
> > --header "Content-Type: application/xml" \<br>
> > --user "${user}:${password}" \<br>
> > --data "<action/>" \<br>
> > "${url}/vms/dc7076ee-9ae7-4a14-bec6-7936f76b4375/reboot"<br>
> ><br>
> > --<br>
> > Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta<br>
> > 3ºD, 28016 Madrid, Spain<br>
> > Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>