CPU ID

Archebo

Member
Dec 27, 2019
10
0
6
53
Hi!
I have Proxmox 6, and software licence which is tied to CPU ID (CPU ID, Phisically ID, Core ID). Sometimes, virtual environment gives another cores to container, and license stop working, so i have to reboot, until same cores will be in use. How to set fixed cores ID for container?
Thank you.
 
hi,

you can add this line in your container config at /etc/pve/lxc/CTID.conf

lxc.cgroup.cpuset.cpus = 1

this should assign the same cpu core (1) to that container