git://git.onelab.eu
/
vserver-reference.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- chkconfig may not be in a regular user's PATH
[vserver-reference.git]
/
vserver-reference.init
diff --git
a/vserver-reference.init
b/vserver-reference.init
index
4ac3e5a
..
cf569a2
100755
(executable)
--- a/
vserver-reference.init
+++ b/
vserver-reference.init
@@
-7,7
+7,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2004-2005 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2004-2005 The Trustees of Princeton University
#
-# $Id: vserver-reference.init,v 1.
9 2005/09/01 17:08:50
mlhuang Exp $
+# $Id: vserver-reference.init,v 1.
12 2005/09/01 17:39:55
mlhuang Exp $
#
YUM_CONF="http://www.planet-lab.org/PlanetLabConf/v3-yum.conf"
#
YUM_CONF="http://www.planet-lab.org/PlanetLabConf/v3-yum.conf"
@@
-102,7
+102,7
@@
umount $VROOT/dev/pts
MAKEDEV
# Disable all services in reference image
MAKEDEV
# Disable all services in reference image
-
chroot $VROOT /bin/sh -c "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
# Clean up
umount $VROOT/proc