Update docker.sh

This commit is contained in:
tteckster 2022-03-17 12:56:28 -04:00 committed by GitHub
parent 14d3476878
commit 9ac1b88309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,9 +115,9 @@ while [ $opt != '' ]
done done
show_menu3(){ show_menu3(){
printf " ${RD} If Using ZFS, You Have Storage Driver Options${CL}\n" printf " ${RD} If Using ZFS, You Have Storage Driver Options${CL}\n"
printf " ${RD} Non ZFS, Select Standard overlay2fs Storage Driver${CL}\n" printf " ${RD} Non ZFS, Select Standard overlay2 Storage Driver${CL}\n"
printf " ${YW} 1)${GN} Use fuse-overlayfs Storage Driver${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 overlay2 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."
read opt read opt
@ -144,7 +144,7 @@ while [ $opt != '' ]
;; ;;
2) clear; 2) clear;
header_info; header_info;
option_picked "Using overlay2fs Storage Driver"; option_picked "Using overlay2 Storage Driver";
STORAGE_DRIVER=" " STORAGE_DRIVER=" "
break; break;
;; ;;
@ -253,7 +253,9 @@ echo -en "${GN} Starting LXC Container... "
pct start $CTID 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 Storage Driver.${CL}"
else
info "${BL}Using overlay2 Storage Driver.${CL}"
fi fi
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"