The changeset revamps the vserver-reference package by changing the
authorMarc Fiuczynski <mef@cs.princeton.edu>
Fri, 2 Nov 2007 21:37:24 +0000 (21:37 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Fri, 2 Nov 2007 21:37:24 +0000 (21:37 +0000)
commit90ed554d985b8d2de59024d29024fc78b4482346
treea514ede644e40b1889f48f66aa619de01e2a0704
parent5a949b31060abe2a1cc2d0437dced8dbb01f1026
The changeset revamps the vserver-reference package by changing the
way system vservers -- such as planetflow -- are built.

The old model involved copying the appropriate rpms required for, say,
planetflow to the systems-packages directory.  Upon boot the
vserver-init script then construct the reference vserver for
planetflow from those rpms.

The new model creates the reference vserver at build time, reduces it
disk footprint to just the newly installed packages for the system
vserver, and places that into the /vservers/.vstub directory (e.g.,
/vservers/.vstub/planetflow).  Upon boot the vserver-init script then
simply merges the default vserver reference with this stub to create a
/vservers/.vref/planetflow directory.

One can define new system vservers by simply creating a .lst file in
the reference-vservers/ directory.  See the planetflow.lst file as an
example.
build.sh
reference-vservers/planetflow.lst [new file with mode: 0644]
system-packages.sh [deleted file]
vserver-reference.init
vserver-reference.lst [new file with mode: 0644]
vserver-reference.spec