On Mon, Jun 13, 2022 at 09:50:43PM -0400, John Snow wrote: > The old CentOS image didn't work anymore because it was already EOL at > the beginning of 2022. > > Signed-off-by: John Snow <js...@redhat.com> > --- > tests/vm/centos | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/tests/vm/centos b/tests/vm/centos > index be4f6ff2f14..f5bbdecf62d 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 <f...@redhat.com> > @@ -18,7 +18,7 @@ import basevm > import time > > class CentosVM(basevm.BaseVM): > - name = "centos" > + name = "centos8s"
What's the effect of this ? It feels a little odd to set name to 'centos8s' here but have this file still called just 'centos' - I assume the 'name' variable was intended to always match the filename > arch = "x86_64" > BUILD_SCRIPT = """ > set -e; > @@ -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") With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|