Enable HostSpecific option in runtime-tools generator.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2018-01-03 19:01:01 +00:00
parent 750115c812
commit 31bc964195
5 changed files with 13 additions and 7 deletions

View File

@@ -279,7 +279,7 @@ func (c *criContainerdService) generateContainerSpec(id string, sandboxPid uint3
if err != nil {
return nil, err
}
g := generate.NewFromSpec(spec)
g := newSpecGenerator(spec)
// Set the relative path to the rootfs of the container from containerd's
// pre-defined directory.