提交 1dd26ce3 编写于 作者: jia zhang's avatar jia zhang

rune/libcontainer: Fix the path to /run/rune

This path doesn't always exist in a container.
Signed-off-by: jia zhang's avatarJia Zhang <zhang.jia@linux.alibaba.com>
上级 9b3ddaf6
......@@ -166,11 +166,11 @@ func Example() *specs.Spec {
if libenclave.IsEnclaveHwEnabled(configs.EnclaveHwIntelSgx) {
spec.Hostname = "rune"
spec.Process.Cwd = "/run/rune"
spec.Process.Cwd = "/var/run/rune"
spec.Root.Readonly = false
spec.Annotations = map[string]string{
"enclave.type": "intelSgx",
"enclave.runtime.path": "/run/rune/liberpal-skeleton.so",
"enclave.runtime.path": "/var/run/rune/liberpal-skeleton.so",
"enclave.runtime.args": "skeleton,debug",
}
spec.Mounts = append(spec.Mounts,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册