containerd: update config to v2 format
v2 format has to be declared explicitly to avoid deprecation warning. v2 format
uses long form plugin names e.g. "io.containerd.snapshotter.v1.btrfs" instead
of "btrfs"
@@ -36,8 +36,10 @@ func WriteDefaultContainerdConfig(dest string) error {
// reason about potential problems down the road.
//
const config = `
+version = 2
+
oom_score = -999
-disabled_plugins = ["cri", "aufs", "btrfs", "zfs"]
+disabled_plugins = ["io.containerd.grpc.v1.cri", "io.containerd.snapshotter.v1.aufs", "io.containerd.snapshotter.v1.btrfs", "io.containerd.snapshotter.v1.zfs"]
`
err := ioutil.WriteFile(dest, []byte(config), 0755)
if err != nil {
