Update docker.sh

pull/84/head
tteckster 3 years ago committed by GitHub
parent 5540fbd8d3
commit 31dd738e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -206,8 +206,14 @@ function cleanup() {
popd >/dev/null popd >/dev/null
rm -rf $TEMP_DIR rm -rf $TEMP_DIR
} }
if [ "$IM" == "1" ]; then if [ "$IM" == "1" ] && [ "$STORAGE_DRIVER" == " " ]; then
FEATURES="nesting=1,keyctl=1" FEATURES="nesting=1,keyctl=1"
elif
[ "$IM" == "1" ] && [ "$STORAGE_DRIVER" == "fuse" ]; then
FEATURES="nesting=1,keyctl=1,fuse=1"
elif
[ "$IM" == "0" ] && [ "$STORAGE_DRIVER" == "fuse" ]; then
FEATURES="nesting=1,keyctl=1,fuse=1"
else else
FEATURES="nesting=1" FEATURES="nesting=1"
fi fi
@ -247,7 +253,6 @@ pct start $CTID
if [ "$STORAGE_TYPE" == "zfspool" ] && [ "$STORAGE_DRIVER" == "fuse" ]; then if [ "$STORAGE_TYPE" == "zfspool" ] && [ "$STORAGE_DRIVER" == "fuse" ]; then
pct push $CTID fuse-overlayfs /usr/local/bin/fuse-overlayfs -perms 755 pct push $CTID fuse-overlayfs /usr/local/bin/fuse-overlayfs -perms 755
info "${BL}Using fuse-overlayfs.${CL}" info "${BL}Using fuse-overlayfs.${CL}"
info "${BL}Select FUSE in Options >> Features.${CL}"
fi fi
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.