mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-23 15:38:50 +01:00
Update docker.sh
This commit is contained in:
parent
5540fbd8d3
commit
31dd738e9a
@ -206,8 +206,14 @@ function cleanup() {
|
||||
popd >/dev/null
|
||||
rm -rf $TEMP_DIR
|
||||
}
|
||||
if [ "$IM" == "1" ]; then
|
||||
if [ "$IM" == "1" ] && [ "$STORAGE_DRIVER" == " " ]; then
|
||||
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
|
||||
FEATURES="nesting=1"
|
||||
fi
|
||||
@ -247,7 +253,6 @@ pct start $CTID
|
||||
if [ "$STORAGE_TYPE" == "zfspool" ] && [ "$STORAGE_DRIVER" == "fuse" ]; then
|
||||
pct push $CTID fuse-overlayfs /usr/local/bin/fuse-overlayfs -perms 755
|
||||
info "${BL}Using fuse-overlayfs.${CL}"
|
||||
info "${BL}Select FUSE in Options >> Features.${CL}"
|
||||
fi
|
||||
echo -e "${CM}${CL} \r"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user