[Users] Invoking guest os script, without guest having network connectivity?

Shlomi Tsadok tsadok at gmail.com
Fri Nov 23 13:47:10 UTC 2012


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 Nov 23, 2012 2:23 PM, "Itamar Heim" <iheim at redhat.com> wrote:

> 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<http://www.vmware.com/support/developer/windowstoolkit/wintk40u1/html/Invoke-VMScript.html>
>>
>>
>>
>> ______________________________**_________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20121123/61e8a8c8/attachment-0001.html>


More information about the Users mailing list