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.
http://www.paul.sladen.org/vserver/debian/debian-newvserver.sh
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):
http://www.paul.sladen.org/vserver/debian/debootstrap-0.1.17.3-2.i386.rpm
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).
http://www.paul.sladen.org/vserver/debian/vserver-0.21-debian.patch
Enjoy. I'm interested in feedback, tell me if it breaks!
-Paul
-- Nottingham, GB