<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">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>

<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 class=""><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>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">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">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/" target="_blank" style="font-family:arial,sans-serif;font-size:13px">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" target="_blank" style="font-family:arial,sans-serif;font-size:13px">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" target="_blank" style="font-family:arial,sans-serif;font-size:13px">@OpenNebula</a> </div>

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