git://git.onelab.eu
/
sliceimage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b2613c7
)
- chroot may not be in a regular user's PATH
author
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 1 Sep 2005 17:20:03 +0000
(17:20 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 1 Sep 2005 17:20:03 +0000
(17:20 +0000)
vserver-reference.init
patch
|
blob
|
history
diff --git
a/vserver-reference.init
b/vserver-reference.init
index
4ac3e5a
..
cb239ec
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.
10 2005/09/01 17:17:14
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 "chkconfig --list | awk '{ print \$1 }' | xargs -i chkconfig {} off"
# Clean up
umount $VROOT/proc
# Clean up
umount $VROOT/proc