]> git.mjollnir.org Git - vserverctl.git/log
vserverctl.git
18 years agoUser generic way of adding to sudo
Nigel McNie [Mon, 14 May 2007 10:38:40 +0000 (22:38 +1200)]
User generic way of adding to sudo

18 years agoPut the fqdn of the parent host in the hosts file. Copy the password from the host...
Nigel McNie [Mon, 14 May 2007 10:38:17 +0000 (22:38 +1200)]
Put the fqdn of the parent host in the hosts file. Copy the password from the host in a user-agnostic manner.

18 years agoDon't install person specific packages
Nigel McNie [Mon, 14 May 2007 10:37:19 +0000 (22:37 +1200)]
Don't install person specific packages

18 years agoAdded non-free repo. Use catalyst debian mirror.
Nigel McNie [Mon, 14 May 2007 10:36:36 +0000 (22:36 +1200)]
Added non-free repo. Use catalyst debian mirror.

18 years agoPut host into config files so it can be used.
Nigel McNie [Mon, 14 May 2007 10:28:14 +0000 (22:28 +1200)]
Put host into config files so it can be used.

18 years agoAdded profiles
Martyn Smith [Thu, 26 Apr 2007 10:06:10 +0000 (22:06 +1200)]
Added profiles

18 years agoMerge branch 'master' of http://scorch.dollyfish.net.nz/~nigel/git/vserverctl
Martyn Smith [Thu, 12 Apr 2007 03:24:54 +0000 (15:24 +1200)]
Merge branch 'master' of http://scorch.dollyfish.net.nz/~nigel/git/vserverctl

18 years agoremoved duplicate context line
Martyn Smith [Thu, 12 Apr 2007 03:24:51 +0000 (15:24 +1200)]
removed duplicate context line

18 years agoFixed problem where template files were being moved to a place but with an incorrect...
Nigel McNie [Tue, 3 Apr 2007 12:47:31 +0000 (00:47 +1200)]
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.

18 years agoAdded a couple of TODOs.
Nigel McNie [Tue, 3 Apr 2007 12:45:10 +0000 (00:45 +1200)]
Added a couple of TODOs.

18 years agoMerge branch 'master' of http://dollyfish.net.nz/~martyn/git/vserverctl
Nigel McNie [Tue, 3 Apr 2007 10:55:15 +0000 (22:55 +1200)]
Merge branch 'master' of http://dollyfish.net.nz/~martyn/git/vserverctl

18 years agoMerge branch 'master' of http://scorch.dollyfish.net.nz/~nigel/git/vserverctl
Martyn Smith [Tue, 3 Apr 2007 10:54:25 +0000 (22:54 +1200)]
Merge branch 'master' of http://scorch.dollyfish.net.nz/~nigel/git/vserverctl

18 years agoMerge branch 'master' of http://dollyfish.net.nz/~martyn/git/vserverctl
Nigel McNie [Tue, 3 Apr 2007 10:54:23 +0000 (22:54 +1200)]
Merge branch 'master' of http://dollyfish.net.nz/~martyn/git/vserverctl

18 years agoMerge commit 'nigel'
Martyn Smith [Tue, 3 Apr 2007 10:53:47 +0000 (22:53 +1200)]
Merge commit 'nigel'

Conflicts:

vserverctl

18 years agoFixed conflicts
Nigel McNie [Tue, 3 Apr 2007 10:53:22 +0000 (22:53 +1200)]
Fixed conflicts

18 years agoAllow context numbers for vservers to be customised
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.

Conflicts:

vserverctl

18 years agoAdded options support to profiles
Martyn Smith [Tue, 3 Apr 2007 10:44:55 +0000 (22:44 +1200)]
Added options support to profiles

18 years agoMoved pre-host execution to before starting the vserver.
Nigel McNie [Tue, 3 Apr 2007 04:26:53 +0000 (16:26 +1200)]
Moved pre-host execution to before starting the vserver.

This allows the pre-host script to do things like configure the files in /etc/vservers/${VSNAME} before the vserver is started.

18 years agoGet the hostname in a more safe fashion.
Nigel McNie [Tue, 3 Apr 2007 02:54:55 +0000 (14:54 +1200)]
Get the hostname in a more safe fashion.

Apparently, $ENV{HOSTNAME} is a bashism, and given the Sys::Hostname modules appears to be available, we can just use that.

18 years agoAdded TODO file
Nigel McNie [Mon, 2 Apr 2007 11:14:35 +0000 (23:14 +1200)]
Added TODO file

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.

18 years agoAllow context numbers for vservers to be customised
Nigel McNie [Mon, 2 Apr 2007 11:13:16 +0000 (23:13 +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.

18 years agoRemoved Data::Dumper stuff
Martyn Smith [Mon, 2 Apr 2007 10:26:00 +0000 (22:26 +1200)]
Removed Data::Dumper stuff

18 years agoAllow the template files to define __HOST__ that will be replaced with the hostname...
Nigel McNie [Mon, 2 Apr 2007 09:56:29 +0000 (21:56 +1200)]
Allow the template files to define __HOST__ that will be replaced with the hostname of the machine that is the host.

18 years agoAdd a newline to the profile file, to stop the vserver complaining
Nigel McNie [Mon, 2 Apr 2007 08:38:44 +0000 (20:38 +1200)]
Add a newline to the profile file, to stop the vserver complaining

18 years agoAdded vserverctl
Martyn Smith [Mon, 2 Apr 2007 08:16:02 +0000 (20:16 +1200)]
Added vserverctl