Enable cgroup v1 #84
Replies: 3 comments 2 replies
-
Hi @jfernandez , vng doesn't run systemd inside the guest (it's actually using a custom init, to speed up the boot time). But we can definitely mimic the same systemd behavior and mount cgroup v1 if this option is passed. I'll work on that later today. |
Beta Was this translation helpful? Give feedback.
-
From systemd's documentation:
I'm wondering if we should do the same in vng, instead of supporting the three modes of Basically using @jfernandez would something like this work for you? |
Beta Was this translation helpful? Give feedback.
-
@jfernandez can you give it a try with #85? It seems to work for me:
|
Beta Was this translation helpful? Give feedback.
-
I'm running vng from a Linux host running Ubuntu 22.04. I'd like to disable cgroup v2 to test a patch for cgroup v1. I've tried this and it didn't work:
vng --append "systemd.unified_cgroup_hierarchy=0"
Beta Was this translation helpful? Give feedback.
All reactions