Update docker.sh

This commit is contained in:
tteckster 2022-03-17 07:17:18 -04:00 committed by GitHub
parent 8beeb0e0e7
commit 44c5554318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,7 +143,7 @@ while [ $opt != '' ]
2) clear; 2) clear;
header_info; header_info;
option_picked "Using overlay2fs Storage Driver"; option_picked "Using overlay2fs Storage Driver";
SD="#" SD="###"
break; break;
;; ;;
@ -243,11 +243,11 @@ EOF
echo -en "${GN} Starting LXC Container... " echo -en "${GN} Starting LXC Container... "
pct start $CTID pct start $CTID
${SD}if [ "$STORAGE_TYPE" == "zfspool" ]; ${SD} if [ "$STORAGE_TYPE" == "zfspool" ];
${SD}then ${SD} then
${SD}pct push $CTID fuse-overlayfs /usr/local/bin/fuse-overlayfs -perms 755 ${SD} pct push $CTID fuse-overlayfs /usr/local/bin/fuse-overlayfs -perms 755
${SD}info "${BL}Using fuse-overlayfs.${CL}" ${SD} info "${BL}Using fuse-overlayfs.${CL}"
${SD}fi ${SD} fi
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"
alias lxc-cmd="lxc-attach -n $CTID --" alias lxc-cmd="lxc-attach -n $CTID --"