About this list Date view Thread view Subject view Author view Attachment view

From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Thu 20 Mar 2003 - 16:52:43 GMT


On Mon, 10 Mar 2003 16:29:02 -0500, Brian Ipsen wrote
> Hi!
>
> Just a suggestion - why not add lines like these to the install-post.sh
> script:
>
> if [-f $USR_LIB_VSERVER/install-post-user.sh ]; then
> $USR_LIB_VSERVER/install-post-user.sh
> fi
>
> This makes it possible to make a customized script to perform actions after
> installation of a new vserver - and eliminates the need to modify the
> post-install script whenever the vserver-tools are updated.

Ok, I add the following

        if [ -x /etc/vservers/install-post.sh ]; then
                /etc/vservers/install-post.sh $VROOT
        fi

/etc/vservers/install-post.sh sounds more appropriate for on-site custom
stuff. The argument passed will be /vservers/servername

This will be in the next release

---------------------------------------------------------
Jacques Gelinas <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 20 Mar 2003 - 17:16:32 GMT by hypermail 2.1.3