X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=initscripts%2Flxc-sliceimage;h=0255e43de613622d80213cb62853529628532b32;hb=7cca0e89eb3890b45a8d8be97622fb567bdab3f5;hp=1c268328dd453d58513ea780cbbf57cc59a2ce32;hpb=396dd3a9602d9b15c7788b34c33204f37d831ee7;p=vserver-reference.git 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