Update docker.sh

This commit is contained in:
tteckster 2022-03-17 07:27:34 -04:00 committed by GitHub
parent 44c5554318
commit eccdf3ab1c
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,10 @@ EOF
echo -en "${GN} Starting LXC Container... " echo -en "${GN} Starting LXC Container... "
pct start $CTID pct start $CTID
${SD} if [ "$STORAGE_TYPE" == "zfspool" ]; if [ "$STORAGE_TYPE" == "zfspool" ]; 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}" 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 --"