aboutsummaryrefslogtreecommitdiff
path: root/tests/vm
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2022-07-08 11:34:54 -0400
committerThomas Huth <thuth@redhat.com>2022-07-18 20:24:36 +0200
commit70457c60fea43f34ad10adc6bb60c73feff049f3 (patch)
treef58edd5adb08bcf85d3549bce7b54fab11891856 /tests/vm
parent1ab330eae5bc191ed165adc6937fba20ee767b56 (diff)
downloadqemu-70457c60fea43f34ad10adc6bb60c73feff049f3.zip
qemu-70457c60fea43f34ad10adc6bb60c73feff049f3.tar.gz
qemu-70457c60fea43f34ad10adc6bb60c73feff049f3.tar.bz2
tests/vm: switch CentOS 8 to CentOS 8 Stream
The old CentOS image didn't work anymore because it was already EOL at the beginning of 2022. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220708153503.18864-4-jsnow@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/vm')
-rwxr-xr-xtests/vm/centos6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/vm/centos b/tests/vm/centos
index be4f6ff..3a527c4 100755
--- a/tests/vm/centos
+++ b/tests/vm/centos
@@ -1,8 +1,8 @@
#!/usr/bin/env python3
#
-# CentOS image
+# CentOS 8 Stream image
#
-# Copyright 2018 Red Hat Inc.
+# Copyright 2018, 2022 Red Hat Inc.
#
# Authors:
# Fam Zheng <famz@redhat.com>
@@ -32,7 +32,7 @@ class CentosVM(basevm.BaseVM):
"""
def build_image(self, img):
- cimg = self._download_with_cache("https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-GenericCloud-8.3.2011-20201204.2.x86_64.qcow2")
+ cimg = self._download_with_cache("https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20220125.1.x86_64.qcow2")
img_tmp = img + ".tmp"
subprocess.check_call(['cp', '-f', cimg, img_tmp])
self.exec_qemu_img("resize", img_tmp, "50G")