<div dir="ltr">Hello Tobias,<div><br></div><div>we generally solve these issues by running an opennebula cli command in the VMM drivers to gather all the missing information we would want. Take a look at these two scripts [1][2].</div>

<div><br></div><div style>I have the feeling you could achieve what you intend to do by writing the command down in a well-known tag in the VM template (using OCA) and picking it up later on using the xpath.rb technique used in the scripts above.</div>

<div style><br></div><div style>[1] <a href="https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/kvm/attach_disk#L32">https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/kvm/attach_disk#L32</a><br>

</div><div>[2] <a href="https://github.com/OpenNebula/one/blob/master/src/tm_mad/iscsi/mv#L85">https://github.com/OpenNebula/one/blob/master/src/tm_mad/iscsi/mv#L85</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">

<div>cheers,<br>Jaime</div><div><br></div><div>On Sun, Mar 24, 2013 at 10:22 AM, Tobias Zillner <span dir="ltr"><<a href="mailto:tobias.zillner@gmx.at" target="_blank">tobias.zillner@gmx.at</a>></span> wrote:<br></div>

<div class="gmail_quote"><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 style="font-family:Verdana;font-size:12px">

<div>
<div style="font-family:Verdana;font-size:12px;line-height:normal">Hello,</div>

<div style="font-family:Verdana;font-size:12px;line-height:normal"> </div>

<div style="font-family:Verdana;font-size:12px;line-height:normal">i added a own function to opennebula. I just took the onevm shutdown and changed the names and so on. I created a own script on the driver.</div>

<div style="font-family:Verdana;font-size:12px;line-height:normal">This works fine but i want to also send a command and not just the deploy_id to the driver.</div>

<div style="font-family:Verdana;font-size:12px;line-height:normal"> </div>

<div style="font-family:Verdana;font-size:12px;line-height:normal">Wjich parts of the code do i have to modify?</div>

<div style="font-family:Verdana;font-size:12px;line-height:normal">Is it also possible to show the result from the executed command to the user? Is there also a pipe or somethong? How to read from it?</div>

<div style="font-family:Verdana;font-size:12px;line-height:normal"> </div>

<div style="font-family:Verdana;font-size:12px;line-height:normal">Can anybody help me here?</div>

<div style="font-family:Verdana;font-size:12px;line-height:normal"> </div>

<div style="font-family:Verdana;font-size:12px;line-height:normal">Thank you!</div>

<div style="font-family:Verdana;font-size:12px;line-height:normal"> </div>

<div style="font-family:Verdana;font-size:12px;line-height:normal">Regards,</div><span class=""><font color="#888888">

<div style="font-family:Verdana;font-size:12px;line-height:normal"> </div>

<div style="font-family:Verdana;font-size:12px;line-height:normal">Tobias Zillner</div>
</font></span></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><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>
</div></div>