mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 11:56:20 +00:00
Update homeassistant.sh
This commit is contained in:
parent
8e5bfde43b
commit
dca41e5f0b
@ -288,7 +288,7 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/c
|
|||||||
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" ]; 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 containers may not work properly due to ZFS not supporting 'fallocate'."
|
||||||
fi
|
fi
|
||||||
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
||||||
cat <<EOF >> $LXC_CONFIG
|
cat <<EOF >> $LXC_CONFIG
|
||||||
|
Loading…
Reference in New Issue
Block a user