Update docker.sh

This commit is contained in:
tteckster 2022-03-17 07:59:42 -04:00 committed by GitHub
parent ea623d1708
commit 5540fbd8d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,8 @@ while [ $opt != '' ]
fi fi
done done
show_menu3(){ show_menu3(){
printf " ${YW} 1)${GN} If ZFS, Use fuse-overlayfs Storage Driver${CL}\n" printf " ${YW} If ZFS, You Have Storage Driver Options${CL}\n"
printf " ${YW} 1)${GN} Use fuse-overlayfs Storage Driver${CL}\n"
printf " ${YW} 2)${GN} Use Standard overlay2fs Storage Driver${CL}\n" printf " ${YW} 2)${GN} Use Standard overlay2fs Storage Driver${CL}\n"
printf "Please choose a Storage Driver and hit enter or ${RD}x${CL} to exit." printf "Please choose a Storage Driver and hit enter or ${RD}x${CL} to exit."
@ -246,6 +247,7 @@ 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"