Compare commits
5 Commits
2023.1-eom
...
stable/202
| Author | SHA1 | Date | |
|---|---|---|---|
| 0460e139b7 | |||
|
|
3e2a0ffe4f | ||
|
|
0e50d17b8d | ||
|
|
0052374411 | ||
|
|
f2fd4303cf |
@@ -2,4 +2,4 @@
|
||||
host=review.opendev.org
|
||||
port=29418
|
||||
project=openstack/devstack-plugin-container.git
|
||||
defaultbranch=stable/2023.1
|
||||
defaultbranch=stable/2024.2
|
||||
|
||||
@@ -57,6 +57,7 @@ function install_crio {
|
||||
# Installing podman and containerd will get us compatible versions of
|
||||
# cri-o and runc. And we need podman to manage container images anyway.
|
||||
apt_get install podman buildah cri-o-runc cri-o
|
||||
sudo systemctl enable crio
|
||||
elif is_fedora; then
|
||||
if [[ "$lsb_dist" = "centos" ]]; then
|
||||
sudo yum-config-manager \
|
||||
@@ -66,6 +67,18 @@ function install_crio {
|
||||
--add-repo \
|
||||
https://cbs.centos.org/repos/paas7-crio-311-candidate/x86_64/os/
|
||||
fi
|
||||
if [[ "${os_VENDOR}" == *'Stream' ]]; then
|
||||
local stream="_Stream"
|
||||
fi
|
||||
# NOTE: All crio versions are not supported for Centos 8 stream
|
||||
# because crio rpm is not present for some minor versions
|
||||
sudo yum-config-manager \
|
||||
--add-repo \
|
||||
"https://download.opensuse.org/repositories/"`
|
||||
`"devel:/kubic:/libcontainers:/stable:/cri-o:/${CRIO_VERSION}/"`
|
||||
`"CentOS_${os_RELEASE}${stream}/"`
|
||||
`"devel:kubic:libcontainers:stable:cri-o:${CRIO_VERSION}.repo"
|
||||
|
||||
yum_install cri-o podman buildah
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user