conmon: use runtime path from ocid

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-09-17 11:37:45 +02:00
parent 2d8691cb0a
commit 4a4897bbfe
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9
3 changed files with 67 additions and 31 deletions

View file

@ -85,6 +85,7 @@ func (r *Runtime) CreateContainer(c *Container) error {
defer parentPipe.Close()
args := []string{"-c", c.name}
args = append(args, "-r", r.path)
if c.terminal {
args = append(args, "-t")
}