X-Git-Url: http://git.onelab.eu/?p=vserver-reference.git;a=blobdiff_plain;f=initscripts%2Flxc-sliceimage;h=0255e43de613622d80213cb62853529628532b32;hp=1c268328dd453d58513ea780cbbf57cc59a2ce32;hb=7cca0e89eb3890b45a8d8be97622fb567bdab3f5;hpb=dc42ef1a0dbcbc994a3dc7c31b939c5339396744 diff --git a/initscripts/lxc-sliceimage b/initscripts/lxc-sliceimage index 1c26832..0255e43 100755 --- a/initscripts/lxc-sliceimage +++ b/initscripts/lxc-sliceimage @@ -10,6 +10,10 @@ # 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