Skip to content

Commit

Permalink
add support for rocky linux
Browse files Browse the repository at this point in the history
Signed-off-by: orccn <[email protected]>
  • Loading branch information
ekuu committed Mar 7, 2023
1 parent e831cc9 commit 96e8b92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion context/containerd/rootfs/scripts/containerd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if ! containerd --version; then
fi
fi
;;
centos | rhel | anolis | ol | sles | kylin | neokylin)
centos | rhel | anolis | ol | sles | kylin | neokylin | rocky)
RPM_DIR=${scripts_path}/../rpm/
rpm=libseccomp
if ! rpm -qa | grep ${rpm};then
Expand Down
2 changes: 1 addition & 1 deletion context/docker/rootfs/scripts/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if ! utils_command_exists docker; then
fi
fi
;;
centos | rhel | anolis | ol | sles | kylin | neokylin)
centos | rhel | anolis | ol | sles | kylin | neokylin | rocky)
cp "${scripts_path}"/../etc/docker.service /usr/lib/systemd/system/docker.service
;;
alios)
Expand Down
2 changes: 1 addition & 1 deletion context/rootfs/scripts/init-kube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ disable_firewalld() {
ubuntu | deepin | debian | raspbian)
command -v ufw &>/dev/null && ufw disable
;;
centos | rhel | ol | sles | kylin | neokylin)
centos | rhel | ol | sles | kylin | neokylin | rocky)
systemctl stop firewalld && systemctl disable firewalld
;;
*)
Expand Down

0 comments on commit 96e8b92

Please sign in to comment.