My config
Configuration file location: /mnt/disk3/lxc/ubuntu-20.04/config
# Template used to create this container: /usr/share/lxc/templates/lxc-download
# Parameters passed to the template: --dist ubuntu --release focal --arch amd64
# Template script checksum (SHA-1): 78b012f582aaa2d12f0c70cc47e910e9ad9be619
# For additional config options, please look at lxc.container.conf(5)
# Uncomment the following line to support nesting containers:
#lxc.include = /usr/share/lxc/config/nesting.conf
# (Be aware this has security implications)
# Distribution configuration
lxc.include = /usr/share/lxc/config/common.conf
lxc.arch = linux64
# Container specific configuration
lxc.rootfs.path = dir:/mnt/disk3/lxc/ubuntu-20.04/rootfs
lxc.uts.name = ubuntu-20.04
# Network configuration
lxc.net.0.type = veth
lxc.net.0.flags = up
lxc.net.0.link=br0
lxc.net.0.name = eth0
lxc.net.0.hwaddr=52:54:00:44:F5:2F
lxc.start.auto=0
#Resource limitations
lxc.cgroup2.cpuset.cpus = 0-1
lxc.cgroup2.memory.max = 2G
the resource limits are not enforced what am i doing wrong ?
Goal to limit the lxc conatiner to core 0,1 and to max 2gb ram out of my 32 gb ram