From: Paul Sladen (vserver_at_paul.sladen.org)
Date: Sun 10 Nov 2002 - 02:11:39 GMT
I just mailed this to Jack. People are probably mostly after the
Debian-ised `newvserver' script. (Based on Mark Lawrence's code).
This installs Debian straight off the web from Debian.org's world-wide
network of mirrors. (apt-get rules doesn't it!).
I'm interested in feedback. This should work on *.RPM with the installation
of "debootstrap.rpm", the Debian bootstrap program. (see below)
Other people with distribution specific scripts may like to look at this
newvserver, as it includes quite a few extra things such as randomizing
`crontab', to prevent the major disk-thrash when 100 vservers all decide to
run `updatedb' at 06:23am in the morning!
This is a `newvserver' for Debian woody.
See `--help' for the rest of the options. For example:
% debian-newvserver --hostname tubby --domain sploge.com --ip 10.1.2.3
On an RPM host, you need the alien'ed package of `debootstrap' (newvserver
will tell you the canonical URL to download it from if it doesn't find it):
There's also an optional patch to `vserver' which fixes `screen' and `mesg'
by detecting Debian and setgid-mounting `devpts' with the gid parameters
from `/etc/defaults/devpts'--if it finds it in the vserver. (not required).
Enjoy. I'm interested in feedback, tell me if it breaks!
-- Nottingham, GB