Skip to content

Commit 96e8b92

Browse files
committed
add support for rocky linux
Signed-off-by: orccn <[email protected]>
1 parent e831cc9 commit 96e8b92

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: context/containerd/rootfs/scripts/containerd.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if ! containerd --version; then
4545
fi
4646
fi
4747
;;
48-
centos | rhel | anolis | ol | sles | kylin | neokylin)
48+
centos | rhel | anolis | ol | sles | kylin | neokylin | rocky)
4949
RPM_DIR=${scripts_path}/../rpm/
5050
rpm=libseccomp
5151
if ! rpm -qa | grep ${rpm};then

Diff for: context/docker/rootfs/scripts/docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ if ! utils_command_exists docker; then
8888
fi
8989
fi
9090
;;
91-
centos | rhel | anolis | ol | sles | kylin | neokylin)
91+
centos | rhel | anolis | ol | sles | kylin | neokylin | rocky)
9292
cp "${scripts_path}"/../etc/docker.service /usr/lib/systemd/system/docker.service
9393
;;
9494
alios)

Diff for: context/rootfs/scripts/init-kube.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ disable_firewalld() {
2727
ubuntu | deepin | debian | raspbian)
2828
command -v ufw &>/dev/null && ufw disable
2929
;;
30-
centos | rhel | ol | sles | kylin | neokylin)
30+
centos | rhel | ol | sles | kylin | neokylin | rocky)
3131
systemctl stop firewalld && systemctl disable firewalld
3232
;;
3333
*)

0 commit comments

Comments
 (0)