X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vserver-reference.init;h=07d01ab1517249424232f37f6ce2b272dce36242;hb=bbc1a08ac1cef26a946e3af552a2ac83499ffd88;hp=7c4bd7265be17c6646e5e9f562f952e64dc67ff2;hpb=3b2c8835c1ef3de840082818c0ffc8050bce0598;p=vserver-reference.git diff --git a/vserver-reference.init b/vserver-reference.init index 7c4bd72..07d01ab 100755 --- a/vserver-reference.init +++ b/vserver-reference.init @@ -2,12 +2,13 @@ # # Builds VServer reference image. Requires the web and boot servers to # be up, which complicates bootstrap. Alternatively, we could require -# the build server to host a local yum repository. +# the build server to host a local yum repository. Already, it is +# required to run the same major version of yum as the nodes. # # Mark Huang # Copyright (C) 2004-2005 The Trustees of Princeton University # -# $Id: vserver-reference.init,v 1.11 2005/09/01 17:20:03 mlhuang Exp $ +# $Id: vserver-reference.init,v 1.13 2005/09/01 17:51:26 mlhuang Exp $ # YUM_CONF="http://www.planet-lab.org/PlanetLabConf/v3-yum.conf" @@ -102,7 +103,7 @@ umount $VROOT/dev/pts MAKEDEV # Disable all services in reference image -/usr/sbin/chroot $VROOT /bin/sh -c "/sbin/chkconfig --list | awk '{ print \$1 }' | xargs -i chkconfig {} off" +/usr/sbin/chroot $VROOT /bin/sh -c "/sbin/chkconfig --list | awk '{ print \$1 }' | xargs -i /sbin/chkconfig {} off" # Clean up umount $VROOT/proc