<div class="gmail_extra">Hello José,</div><div class="gmail_extra"><br></div><div class="gmail_extra">of course: pre, post and clean scripts can be any executable script you want. You may write them in python, ruby, bash or whichever languague you may choose.</div>


<div class="gmail_extra"><br></div><div class="gmail_extra">In particular, if you want to run another script from the existing pre/post/clean scripts you can add lines similar to the following to them:</div><div class="gmail_extra">

<br></div><div class="gmail_extra">
system("/path/to/another/script.sh")</div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards,</div><div class="gmail_extra">Jaime<br><br><div class="gmail_quote">
On Wed, Apr 25, 2012 at 1:29 PM, José Valerio <span dir="ltr"><<a href="mailto:jose.valerio@unine.ch" target="_blank">jose.valerio@unine.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hello,<br>
<br>
I would like to see some examples of the "pre", "post" and "clean" scripts that one can make on VNM, I saw for example the scripts on /var/lib/one/remotes/vnm/<u></u>ebtables and they are ruby scripts...<br>



<br>
let's say for example that I want to execute some shell commands before deploying my VM, how could write this on the "pre" script?<br>
<br>
I'm using OpenNebula 3.4<br>
<br>
thanks in advance<span><font color="#888888"><br>
<br>
José Valerio<br>
Université de Neuchâtel<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</font></span></blockquote></div><br></div><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>