mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-24 22:11:56 +00:00
Update podman-homeassistant-v3.sh
This commit is contained in:
parent
f4c168033e
commit
3acbd66d5d
@ -307,10 +307,6 @@ 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}')
|
|
||||||
if [ "$STORAGE_TYPE" == "zfspool" ]; then
|
|
||||||
echo -e "${RD}Some applications may not work properly due to ZFS not supporting 'fallocate'.${CL}"
|
|
||||||
fi
|
|
||||||
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
||||||
cat <<EOF >> $LXC_CONFIG
|
cat <<EOF >> $LXC_CONFIG
|
||||||
lxc.cgroup2.devices.allow: a
|
lxc.cgroup2.devices.allow: a
|
||||||
|
Loading…
Reference in New Issue
Block a user