Skip to content

Latest commit

 

History

History
84 lines (55 loc) · 2.66 KB

DownloadableImages.rst

File metadata and controls

84 lines (55 loc) · 2.66 KB

Links with downloadable images for virt tests

This is a central location that we aim to keep up to date with locations of iso files that might be needed for testing.

Update: Now we have a central location to define such downloads. In the source tree:

shared/downloads/

Contains a bunch of .ini files, each one with download definitions. It is expected that this will be more up to date than this page. You can see the available downloads and download the files using:

scripts/download_manager.py

Winutils ISO

The windows utils file can be currently found at:

http://assets-avocadoproject.rhcloud.com/static/winutils.iso

How to update winutils.iso

That's basically a collection of files useful for windows testing. If you want to update that file, you'll have to pick that iso file, extract it to a directory, make changes, remaster the iso and upload back to the main location.

JeOS image

You can find the JeOS images currently here:

https://assets-avocadoproject.rhcloud.com/static/jeos-21-64.qcow2.7z

https://assets-avocadoproject.rhcloud.com/static/SHA1SUM_JEOS21

https://assets-avocadoproject.rhcloud.com/static/jeos-23-64.qcow2.7z

https://assets-avocadoproject.rhcloud.com/static/SHA1SUM_JEOS23

Unfortunately the host assets-avocadoproject.rhcloud.com is configured in such a way that exploring that base directory won't give you a file listing, and you have to provide the exact urls of what you're looking for.

How to update JeOS

The JeOS can be updated by installing it, just like a normal OS. You can do that for example with avocado-vt, selecting an unattended install test. In this example, we're going to use the unattended install using https kickstart and network install:

$ avocado run io-github-autotest-qemu.unattended_install.url.http_ks.default_install.aio_native

The JeOS kickstart has a trick to fill the qcow2 image with zeros, so that we can squeeze these zeros later with qemu img. Once the image is installed, you can use our helper script, located at scripts/package_jeos.py in the avocado-vt source tree. That script uses qemu-img to trim the zeros of the image, ensuring that the resulting qcow2 image is the smallest possible. The command is similar to:

$ qemu-img convert -f qcow2 -O qcow2 jeos-file-backup.qcow2 jeos-file.qcow2

Then it'll compress it using 7zip, to save space and speed up downloads for avocado-vt users. The command is similar to:

$ 7za a jeos-file.qcow2.7z jeos-file.qcow2

As mentioned, the script is supposed to help you with the process.