Nigel McNie [Wed, 16 May 2007 01:57:26 +0000 (13:57 +1200)]
Make sure that, after we have encounted a 'no' for an inherit option, to set it back to 'yes' for any children to turn off. That way profiles can always assume the default is 'yes' unless they turn it off.
Fixed problem where template files were being moved to a place but with an incorrect name (.template).
Allowed extramodules=modulename to work, allowing you to make a profile that contains extra stuff to run as well as whatever profile you're basing the vserver off of. Only supports one name at the moment, easy enough to change to support a comma separated list.
The other thing I'd want to do is move them to modules/* instead of having them in the base directory. Alternatively, they could stay, and with a profile.conf could become configurations for new vservers themselves. Something to discuss.
Martyn Smith [Tue, 3 Apr 2007 10:51:00 +0000 (22:51 +1200)]
Allow context numbers for vservers to be customised
This patch adds a subroutine that returns a unique context number for a new vserver to use, so now more than one vserver can be created with this script.
The TODO file will list any todos or nice ideas anyone has. Currently has an idea for keeping the /etc/hosts file in sync across all vservers and the host.
Allow context numbers for vservers to be customised
This patch adds a subroutine that returns a unique context number for a new vserver to use, so now more than one vserver can be created with this script.