Update docker.sh

This commit is contained in:
tteckster 2022-03-17 13:02:19 -04:00 committed by GitHub
parent 9ac1b88309
commit 0e2fb7769e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -251,13 +251,14 @@ EOF
echo -en "${GN} Starting LXC Container... "
pct start $CTID
echo -e "${CM}${CL} \r"
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 Storage Driver.${CL}"
else
info "${BL}Using overlay2 Storage Driver.${CL}"
fi
echo -e "${CM}${CL} \r"
alias lxc-cmd="lxc-attach -n $CTID --"