<p dir="ltr">Hi Itamar</p>
<p dir="ltr">In the Wiki I see references on attaching floppy/iso as a payload. Is it possible to trigger a bash script (with parameters), for example, inside the guest using this mechanism? <br>
If so, can you please point me to some documentation?</p>
<p dir="ltr">Thank you<br>
Shlomi</p>
<div class="gmail_quote">On Nov 23, 2012 2:23 PM, "Itamar Heim" <<a href="mailto:iheim@redhat.com">iheim@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 11/23/2012 01:48 PM, Shlomi Tsadok wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm looking for a way to configure the guest networking(including IP)<br>
dynamically, using a custom script, right after VM creation.<br>
<br>
Is there a similar feature in oVirt as the Invoke-VMScript in of<br>
VMware's PowerCLI? It allows you to run a script in the guest OS, even<br>
before the guest has networking connectivity ( the host talks to the<br>
vmtools agent that's installed in the guest).<br>
</blockquote>
<br>
currently, you can attach to the guest a "payload", and have a script in the guest expecting that payload and acting on it (which is what cloud-init does).<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Native KVM/libvirt option will be good as well.<br>
</blockquote>
<br>
if kvm/libvirt allow it, you can use a custom vdsm hook as well.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Shlomi<br>
<br>
Invoke-VMScript reference:<br>
<a href="http://www.vmware.com/support/developer/windowstoolkit/wintk40u1/html/Invoke-VMScript.html" target="_blank">http://www.vmware.com/support/<u></u>developer/windowstoolkit/<u></u>wintk40u1/html/Invoke-<u></u>VMScript.html</a><br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
<br>
</blockquote></div>