Hi Itamar
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?
If so, can you please point me to some documentation?
Thank you
Shlomi
On 11/23/2012 01:48 PM, Shlomi Tsadok wrote:
I'm looking for a way to configure the guest networking(including IP)
dynamically, using a custom script, right after VM creation.
Is there a similar feature in oVirt as the Invoke-VMScript in of
VMware's PowerCLI? It allows you to run a script in the guest OS, even
before the guest has networking connectivity ( the host talks to the
vmtools agent that's installed in the guest).
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).
Native KVM/libvirt option will be good as well.
if kvm/libvirt allow it, you can use a custom vdsm hook as well.
Thanks,
Shlomi
Invoke-VMScript reference:
http://www.vmware.com/support/developer/windowstoolkit/wintk40u1/html/Invoke-VMScript.html
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users