vc: Revert "vc: change container rootfs to be a mount"

This reverts commit 196661bc0d.

Reverting because cri-o with devicemapper started
to fail after this commit was merged.

Fixes: #1574.

Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
This commit is contained in:
Salvador Fuentes
2019-04-22 12:05:55 -05:00
parent 77309f4982
commit bc9b9e2af6
19 changed files with 212 additions and 83 deletions

View File

@@ -128,7 +128,7 @@ func create(ctx context.Context, containerID, bundlePath, console, pidFilePath s
disableOutput := noNeedForOutput(detach, ociSpec.Process.Terminal)
//rootfs has been mounted by containerd shim
rootFs := vc.Mount{Mounted: true}
rootFs := vc.RootFs{Mounted: true}
var process vc.Process
switch containerType {