Re: [one-users] examples of pre, post and clean scripts for VNM

2012-05-09 Thread Carlos Martín Sánchez
Hi, On Wed, Apr 25, 2012 at 2:16 PM, José Valerio jose.vale...@unine.ch wrote: - how can I add new VN MAD? (I don't want to modify dummy, vmware, etc). i tried just creating a new directory inside the remotes/vnm dir but it didn't work. Maybe I need to do something else. To create a new

[one-users] examples of pre, post and clean scripts for VNM

2012-04-25 Thread José Valerio
Hello, 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/ebtables and they are ruby scripts... let's say for example that I want to execute some shell commands before deploying my VM, how

Re: [one-users] examples of pre, post and clean scripts for VNM

2012-04-25 Thread Jaime Melis
Hello José, 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. In particular, if you want to run another script from the existing pre/post/clean scripts you can add lines similar to the

Re: [one-users] examples of pre, post and clean scripts for VNM

2012-04-25 Thread José Valerio
Hi Jaime Thanks for the prompt answer! Now I have 2 more questions: - how can I add new VN MAD? (I don't want to modify dummy, vmware, etc). i tried just creating a new directory inside the remotes/vnm dir but it didn't work. Maybe I need to do something else. - how can I use on the script