summaryrefslogtreecommitdiff
path: root/contrib/cirrus/lib.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-16 15:52:25 +0000
committerGitHub <noreply@github.com>2020-12-16 15:52:25 +0000
commitbacb2fc526dba7214e3c8420eccc5cf22bbb1a29 (patch)
tree1e0e5dc8f71cacb030cd001734957c87b5370380 /contrib/cirrus/lib.sh
parent978c0767fa72abfa41f720f6fab34a62e3ac7a12 (diff)
parentf66ecc882df822260e41de24b1c5f44a1ba3c3ad (diff)
downloadpodman-bacb2fc526dba7214e3c8420eccc5cf22bbb1a29.tar.gz
podman-bacb2fc526dba7214e3c8420eccc5cf22bbb1a29.tar.bz2
podman-bacb2fc526dba7214e3c8420eccc5cf22bbb1a29.zip
Merge pull request #8312 from cevich/new_ubuntu_images
Cirrus: Update VM Images; Both Fedora and Ubuntu "prior" flavors run with CGroupsV1 & runc
Diffstat (limited to 'contrib/cirrus/lib.sh')
-rw-r--r--contrib/cirrus/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh
index 01e75d9a6..ea47c554a 100644
--- a/contrib/cirrus/lib.sh
+++ b/contrib/cirrus/lib.sh
@@ -41,7 +41,7 @@ fi
OS_RELEASE_ID="$(source /etc/os-release; echo $ID)"
# GCE image-name compatible string representation of distribution _major_ version
-OS_RELEASE_VER="$(source /etc/os-release; echo $VERSION_ID | cut -d '.' -f 1)"
+OS_RELEASE_VER="$(source /etc/os-release; echo $VERSION_ID | tr -d '.')"
# Combined to ease soe usage
OS_REL_VER="${OS_RELEASE_ID}-${OS_RELEASE_VER}"
# This is normally set from .cirrus.yml but default is necessary when