server/sandbox: fix path to pause rootfs

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-09-21 08:43:24 +02:00
parent 26cc3089c4
commit 55cc58568f
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -75,7 +75,7 @@ func (s *Server) CreatePodSandbox(ctx context.Context, req *pb.CreatePodSandboxR
g := generate.New() g := generate.New()
// setup defaults for the pod sandbox // setup defaults for the pod sandbox
g.SetRootPath(filepath.Join(podInfraRootfs, "rootfs")) g.SetRootPath(podInfraRootfs)
g.SetRootReadonly(true) g.SetRootReadonly(true)
g.SetProcessArgs([]string{"/pause"}) g.SetProcessArgs([]string{"/pause"})