git://git.onelab.eu
/
sliceimage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
artificially add /bin and /sbin to PATH so that any chroot $rootfs blabla can fly...
[sliceimage.git]
/
initscripts
/
lxc-sliceimage
diff --git
a/initscripts/lxc-sliceimage
b/initscripts/lxc-sliceimage
index
1c26832
..
0255e43
100755
(executable)
--- a/
initscripts/lxc-sliceimage
+++ b/
initscripts/lxc-sliceimage
@@
-10,6
+10,10
@@
# not needed -- Source function library
#. /etc/init.d/functions
# not needed -- Source function library
#. /etc/init.d/functions
+# a f>=18 root context won't have /bin nor /sbin in its path, which is where
+# chkconfig is located on f<=14 images
+export PATH=$PATH:/bin:/sbin
+
# This is where sliceimage(s) store their reference images
sliceimage_dir=/vservers/.vref
sliceimage_stubs=/vservers/.vstub
# This is where sliceimage(s) store their reference images
sliceimage_dir=/vservers/.vref
sliceimage_stubs=/vservers/.vstub