From 9bdbfd8426aabcb1c0ee9e5c1ad4647e47b4c6e7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 20 Mar 2022 13:25:34 -0400 Subject: [PATCH] Update homeassistant.sh --- ct/homeassistant.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ct/homeassistant.sh b/ct/homeassistant.sh index 61e0eaf9..c34df4b6 100644 --- a/ct/homeassistant.sh +++ b/ct/homeassistant.sh @@ -286,7 +286,8 @@ export PCT_OPTIONS=" 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}') -if [ "$STORAGE_TYPE" == "zfspool" ]; then +if [ "$STORAGE_TYPE" == "zfspool" ] && [ "$STORAGE_DRIVER" == "fuse" ]; then + 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'." fi LXC_CONFIG=/etc/pve/lxc/${CTID}.conf