Browse Source

Update docker.sh

tteckster 3 years ago
parent
commit
3b4156b530
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ct/docker.sh

+ 1 - 1
ct/docker.sh

@@ -285,7 +285,7 @@ export PCT_OPTIONS="
 bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh)" || exit
 bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh)" || exit
 
 
 STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
 STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F ":" '{print $2}') | awk 'NR>1 {print $2}')
-if [ "$STORAGE_TYPE" == "zfspool" ] && [ "$STORAGE_DRIVER" == "fuse" ]; then
+if [ "$STORAGE_TYPE" == "zfspool" ]; then
   wget -qL -O fuse-overlayfs https://github.com/containers/fuse-overlayfs/releases/download/v1.8.2/fuse-overlayfs-x86_64
   wget -qL -O fuse-overlayfs https://github.com/containers/fuse-overlayfs/releases/download/v1.8.2/fuse-overlayfs-x86_64
   warn "Some addons may not work due to ZFS not supporting 'fallocate'."
   warn "Some addons may not work due to ZFS not supporting 'fallocate'."
 fi
 fi