From: "Daniel P. Berrangé" <berrange@redhat.com>
To: John Snow <jsnow@redhat.com>
Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org,
"Beraldo Leal" <bleal@redhat.com>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Hanna Reitz" <hreitz@redhat.com>,
"Kevin Wolf" <kwolf@redhat.com>, "Thomas Huth" <thuth@redhat.com>
Subject: Re: [PATCH 4/5] tests/vm: switch CentOS 8 to CentOS 8 Stream
Date: Tue, 14 Jun 2022 10:09:00 +0100 [thread overview]
Message-ID: <YqhQLC7vsLDAjLK7@redhat.com> (raw)
In-Reply-To: <20220614015044.2501806-5-jsnow@redhat.com>
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 <jsnow@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 <famz@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 :|
next prev parent reply other threads:[~2022-06-14 9:31 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-14 1:50 [PATCH 0/5] Update CentOS VM tests John Snow
2022-06-14 1:50 ` [PATCH 1/5] tests/qemu-iotests: hotfix for 307, 223 output John Snow
2022-06-14 8:54 ` Daniel P. Berrangé
2022-06-14 1:50 ` [PATCH 2/5] tests/qemu-iotests: skip 108 when FUSE is not loaded John Snow
2022-06-14 4:46 ` Thomas Huth
2022-06-14 8:59 ` Daniel P. Berrangé
2022-06-14 14:30 ` John Snow
2022-06-15 13:41 ` John Snow
2022-06-15 15:33 ` Daniel P. Berrangé
2022-06-15 15:48 ` John Snow
2022-06-15 16:22 ` Daniel P. Berrangé
2022-06-14 1:50 ` [PATCH 3/5] tests/vm: use 'cp' instead of 'ln' for temporary vm images John Snow
2022-06-14 4:39 ` Thomas Huth
2022-06-14 14:51 ` John Snow
2022-06-14 1:50 ` [PATCH 4/5] tests/vm: switch CentOS 8 to CentOS 8 Stream John Snow
2022-06-14 4:40 ` Thomas Huth
2022-06-14 9:09 ` Daniel P. Berrangé [this message]
2022-06-14 14:56 ` John Snow
2022-06-14 1:50 ` [PATCH 5/5] tests/vm: switch centos.aarch64 " John Snow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YqhQLC7vsLDAjLK7@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=bleal@redhat.com \
--cc=f4bug@amsat.org \
--cc=hreitz@redhat.com \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=wainersm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.