Update homeassistant.sh
This commit is contained in:
parent
4643ccd538
commit
9cd5f937fe
1 changed files with 0 additions and 5 deletions
|
@ -188,7 +188,6 @@ 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
|
|
||||||
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
|
||||||
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
||||||
|
@ -199,10 +198,6 @@ EOF
|
||||||
|
|
||||||
echo -en "${GN} Starting LXC Container... "
|
echo -en "${GN} Starting LXC Container... "
|
||||||
pct start $CTID
|
pct start $CTID
|
||||||
#if [ "$STORAGE_TYPE" == "zfspool" ]; then
|
|
||||||
#pct push $CTID fuse-overlayfs /usr/local/bin/fuse-overlayfs -perms 755
|
|
||||||
#info "${BL}Using fuse-overlayfs.${CL}"
|
|
||||||
#fi
|
|
||||||
echo -e "${CM}${CL} \r"
|
echo -e "${CM}${CL} \r"
|
||||||
|
|
||||||
alias lxc-cmd="lxc-attach -n $CTID --"
|
alias lxc-cmd="lxc-attach -n $CTID --"
|
||||||
|
|
Loading…
Reference in a new issue