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