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

View File

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