Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
fix containerd on centos
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Jun 26, 2019
1 parent dad411c commit 5770d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apps/cri.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ func addDockerRepos(sys *Config) {

func (c cri) Containerd(sys *Config, ctx *SystemContext) ([]Command, Filesystem, error) {
addDockerRepos(sys)
sys.AddPackage("containerd.io device-mapper-persistent-data lvm2", &REDHAT_LIKE)
sys.AddPackage("containerd.io device-mapper-persistent-data lvm2", &FEDORA)
sys.AddPackage("containerd.io device-mapper-persistent-data lvm2 libseccomp", &REDHAT_LIKE)
sys.AddPackage("containerd.io device-mapper-persistent-data lvm2 libseccomp", &FEDORA)
sys.AddPackage("containerd.io", &DEBIAN_LIKE)
sys.AddCommand("mkdir -p /etc/containerd && containerd config default > /etc/containerd/config.toml")
sys.AddCommand("systemctl enable containerd && systemctl restart containerd")
Expand Down

0 comments on commit 5770d6c

Please sign in to comment.