Skip to content

Commit

Permalink
use final names for cgroup isolation
Browse files Browse the repository at this point in the history
See: lxc/lxc#3353
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
  • Loading branch information
Blub authored and ThomasLamprecht committed Apr 6, 2020
1 parent 6973a21 commit e532a36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PVE/LXC.pm
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,8 @@ sub update_lxc_config {
# simply move the monitor outside:
$raw .= "lxc.cgroup.dir.monitor = lxc.monitor/$vmid\n";
# cgroup namespace separation for stronger limits:
$raw .= "lxc.cgroup.dir.payload = lxc/$vmid\n";
$raw .= "lxc.cgroup.dir.namespace = ns\n";
$raw .= "lxc.cgroup.dir.container = lxc/$vmid\n";
$raw .= "lxc.cgroup.dir.container.inner = ns\n";
}

die "missing 'arch' - internal error" if !$conf->{arch};
Expand Down

0 comments on commit e532a36

Please sign in to comment.