X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=config.lxc%2Fsliceimage.post;h=5a145e2e727ac4a2c267bcb8786f49699cb9bc49;hb=54d3133eeb801a434a1237c2cde942cc45bb8539;hp=2bc8c04e4924749d4c05ce37e40297818a80eda1;hpb=bdff38315032969f6b402079d5cb4948292411bd;p=build.git diff --git a/config.lxc/sliceimage.post b/config.lxc/sliceimage.post index 2bc8c04e..5a145e2e 100644 --- a/config.lxc/sliceimage.post +++ b/config.lxc/sliceimage.post @@ -27,5 +27,8 @@ if [ -d selinux ] ; then rmdir selinux fi fi -cd - +# for when runing under lxc, make sure we don't try to fsck from a slice +sed -i -e 's,1 1,0 0,' ${vdir}/etc/fstab + +cd -