PVE更新到了7.2-14,重新启动发现LXC无法开机
错误提示:
run_buffer: 321 Script exited with status 2
lxc_init: 847 Failed to run lxc.hook.pre-start for container "106"
__lxc_start: 2008 Failed to initialize container "106"
TASK ERROR: startup for container '106' failed
官方提示:https://pve.proxmox.com/pve-docs/chapter-pct.html#pct_cgroup_compat
- 因为PVE cgroupv2 systemd版本比容器要高,只需要在PVE主机内核命令行
GRUB_CMDLINE_LINUX_DEFAULT
里添加systemd.unified_cgroup_hierarchy=0
nano /etc/default/grub
#保存更新grub
update-grub
reboot