From 30b4378eb3daa6662685825957eb5c281d10286d Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 7 Mar 2022 10:14:32 -0500 Subject: [PATCH] Update debian.sh --- ct/debian.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ct/debian.sh b/ct/debian.sh index 50ddb664..84bb6977 100644 --- a/ct/debian.sh +++ b/ct/debian.sh @@ -147,6 +147,11 @@ STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F " if [ "$STORAGE_TYPE" == "zfspool" ]; then warn "Some addons may not work due to ZFS not supporting 'fallocate'." fi +LXC_CONFIG=/etc/pve/lxc/${CTID}.conf +cat <> $LXC_CONFIG +lxc.cgroup2.devices.allow: a +lxc.cap.drop: +EOF echo -en "${GN} Starting LXC Container... " pct start $CTID