|
|
|
@ -345,11 +345,6 @@ STORAGE_TYPE=$(pvesm status -storage $(pct config $CTID | grep rootfs | awk -F " |
|
|
|
if [ "$STORAGE_TYPE" == "zfspool" ]; then |
|
|
|
if [ "$STORAGE_TYPE" == "zfspool" ]; then |
|
|
|
warn "Some applications may not work properly due to ZFS not supporting 'fallocate'." |
|
|
|
warn "Some applications may not work properly due to ZFS not supporting 'fallocate'." |
|
|
|
fi |
|
|
|
fi |
|
|
|
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf |
|
|
|
|
|
|
|
cat <<EOF >> $LXC_CONFIG |
|
|
|
|
|
|
|
lxc.cgroup2.devices.allow: a |
|
|
|
|
|
|
|
lxc.cap.drop: |
|
|
|
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo -en "${GN} Starting LXC Container... " |
|
|
|
echo -en "${GN} Starting LXC Container... " |
|
|
|
pct start $CTID |
|
|
|
pct start $CTID |
|
|
|
|