|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Run scripts at guest startup
Hi Jonathan,
I don't know of any tutorial, but I personally found reading the
existing scripts (probably ignore vif-nat and prefer
vif-bridge/vif-route) quite straight forward.
A good start is to copy one of the scripts and extend it to one's own
needs. The XEN Wiki also explains some basics, but I can't remember a
real tutorial or reference. It also depends too much on the specific
situation / needs.
Regards,
Felix
Am 13.06.2010 22:12, schrieb Jonathan Tripathy:
> Hi Felix,
>
> Ah yes of course, I forgot about that!
>
> Do you know any good tutorial on how to make your own vif-scripts?
>
> Btw, thank you for your excellent post before regarding my other
> issue. I will try that out when I get a bit more time.
>
> Thanks
>
> Jonathan
>
> On 13/06/10 20:57, Felix Kuperjans wrote:
>> Hi Jonathan,
>>
>> iptables commands usually go to individual vif-scripts. That will be
>> executed when the vif comes up/down. AFAIK, there is no way to execute a
>> script directly at creation time (but the vif-script is executed before
>> the domain is actually started).
>>
>> Regards,
>> Felix
>>
>> Am 13.06.2010 21:44, schrieb Jonathan Tripathy:
>>
>>> Hi everyone,
>>>
>>> Hopefully an easy question.
>>>
>>> Is there some way I can execute a generic script on the Dom0 when a
>>> DomU starts up? I have a script which will execute some iptables
>>> commands
>>>
>>> Thanks
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-users
>>>
>>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|