<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 27, 2014 at 5:46 PM, Christophe Duez <span dir="ltr"><<a href="mailto:christophe.duez@student.uantwerpen.be" target="_blank">christophe.duez@student.uantwerpen.be</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">still does not work.<div>can i debug this or something? </div>

</div><div class="gmail_extra"><br></div></blockquote><div><div dir="ltr"><br></div><div>Sure, the hook is pretty simple... point the hook to a bash script and echo $* to a log file, or something along the line.</div><div>

<br></div><div>Regards</div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" target="_blank" style="color:rgb(42,93,176)"></a></span></div>

</div></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="gmail_extra"><br>

<div class="gmail_quote"><div class="">On Mon, May 19, 2014 at 11:42 AM, Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div>
<div dir="ltr">Hi,
<div class="gmail_extra"><br>
<div class="gmail_quote"><div><div><div class="">On Sat, May 17, 2014 at 7:18 PM, Christophe Duez <span dir="ltr">
<<a href="mailto:christophe.duez@student.uantwerpen.be" target="_blank">christophe.duez@student.uantwerpen.be</a>></span> wrote:<br>
</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Hello,
<div>I tried this script at <a href="http://dev.opennebula.org/issues/1026" target="_blank">
http://dev.opennebula.org/issues/1026</a> to clean up the log files from VM's</div>
<div>But i cleans up the whole .one directory or something.</div>
<div>is this script wrong or is there a better one?<span><font color="#888888"><br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Kind regards,
<div>Duez Christophe
<div>Student at University of Antwerp :<br>
<div>Master of Industrial Sciences: Electronics-ICT
<div>
<div><br>
<div>E <a href="mailto:christophe.duez@student.uantwperen.be" target="_blank">christophe.duez@student.uantwperen.be</a></div>
<div>L <a href="http://www.linkedin.com/pub/duez-christophe/74/7/39" target="_blank">linkedin duez-christophe</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
</div>
</blockquote>
<div><br>
</div>
</div></div></div></div><div class=""><div>Try changing $VMID [1] to $ID [2].</div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>[1] <a href="http://archives.opennebula.org/documentation:archives:rel3.2:hooks" target="_blank">
http://archives.opennebula.org/documentation:archives:rel3.2:hooks</a><br>
</div>
<div>[2] <a href="http://docs.opennebula.org/4.6/integration/infrastructure_integration/hooks.html" target="_blank">http://docs.opennebula.org/4.6/integration/infrastructure_integration/hooks.html</a></div>
--<br>
<div>Carlos Martín, MSc<br>
Project Engineer</div>
<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
</div>
<div><a href="http://www.opennebula.org/" style="font-family:arial,sans-serif;font-size:13px" target="_blank">www.OpenNebula.org</a><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">|</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><a href="mailto:cmartin@opennebula.org" style="font-family:arial,sans-serif;font-size:13px" target="_blank">cmartin@opennebula.org</a><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">|</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><a href="http://twitter.com/opennebula" style="font-family:arial,sans-serif;font-size:13px" target="_blank">@OpenNebula</a> </div>



</div></div>
<br>
</div>
</div>
</div>

</blockquote></div><br><br clear="all"><div class=""><div><br></div>-- <br><div dir="ltr">Kind regards,<div>Duez Christophe<div>Student at University of Antwerp :<br><div>Master of Industrial Sciences: Electronics-ICT<div>

<div><br><div>
E <a href="mailto:christophe.duez@student.uantwperen.be" target="_blank">christophe.duez@student.uantwperen.be</a></div><div>L <a href="http://www.linkedin.com/pub/duez-christophe/74/7/39" target="_blank">linkedin duez-christophe</a></div>


</div></div></div></div></div></div>
</div></div>
</blockquote></div><br></div></div>