]> git.mjollnir.org Git - vserverctl.git/log
vserverctl.git
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