提交 fb84bfb3 编写于 作者: Z zhangsong34 提交者: Grooooot

syscontainer-tools: change default cgroup path

Signed-off-by: Nzhangsong34 <zhangsong34@huawei.com>
上级 60734def
......@@ -151,8 +151,8 @@ func (c *Container) GetCgroupPath() (string, error) {
cgroupPath = cgroupPath[1 : len(cgroupPath)-1]
}
if cgroupPath == "" {
// by default, the cgroup path is "/lxc/<id>"
cgroupPath = "/lxc"
// by default, the cgroup path is "/isulad/<id>"
cgroupPath = "/isulad"
}
cgroupPath = filepath.Join(cgroupPath, c.containerID)
return cgroupPath, nil
......
......@@ -4,7 +4,7 @@
#Basic Information
Name: syscontainer-tools
Version: v0.9
Release: 35
Release: 36
Summary: syscontainer tools for IT, work with iSulad
License: Mulan PSL v1
URL: https://gitee.com/src-openeuler/syscontainer-tools
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册