We did not explicitly check that the user is trying to install with a
patched FAI. Whilst we do not attempt full detection, a simple check,
and a URL, will go a long way.
--- vserver-build.fai | 7 +++++++ 1 file changed, 7 insertions(+) --- scripts/vserver-build.fai.orig 2006-09-27 11:34:15.000000000 +1200 +++ scripts/vserver-build.fai 2006-09-27 11:37:08.000000000 +1200 @@ -76,6 +76,13 @@ echo "FAI_DIR is $FAI_DIR" FAI_ROOT=/tmp/target +if ! grep -qw VIRTUAL $FAI_NFSROOT/usr/sbin/fai +then + echo "*** Looks like you don't have the patched FAI." + echo "*** get it from svn://svn.debian.org/svn/fai/people/mugwump/vserver" + exit 1 +fi + # setup a new filesystem namespace set -e #[ -d $FAI_NFSROOT/var/log/fai ] || mkdir $FAI_NFSROOT/var/log/fai _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserverReceived on Wed Sep 27 00:41:29 2006