mirror of https://github.com/tteck/Proxmox.git
Update docker.sh
This commit is contained in:
parent
5540fbd8d3
commit
31dd738e9a
|
@ -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…
Reference in New Issue