mirror of https://github.com/tteck/Proxmox.git
Update homeassistant-v3.sh
This commit is contained in:
parent
c5a47551f4
commit
ed113f47c3
|
@ -278,7 +278,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
|
||||||
warn "Some applications may not work properly due to ZFS not supporting 'fallocate'."
|
echo -e "${RD}Some applications may not work properly due to ZFS not supporting 'fallocate'.${CL}"
|
||||||
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