2021-06-11 13:52:39 +00:00
|
|
|
#!/bin/bash -
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
|
|
|
# This only makes sure that virt-v2v isn't totally broken.
|
|
|
|
# virt-v2v is extensively tested on real guests by the QE
|
|
|
|
# team using a mix of automated and manual testing.
|
|
|
|
|
2023-06-26 09:28:34 +00:00
|
|
|
# The various services exposed by the modular libvirt daemons are not
|
|
|
|
# immediately available / running after installing their packages (via the
|
|
|
|
# "libvirt-daemon-kvm" metapackage); we need to start them manually. The
|
|
|
|
# simplest command for starting them all is the one below, from
|
|
|
|
# <https://lists.corp.redhat.com/archives/osci-list/2023-June/001238.html>.
|
|
|
|
systemctl isolate multi-user.target
|
2021-06-11 17:43:04 +00:00
|
|
|
|
2023-07-03 13:59:29 +00:00
|
|
|
# Work around RHBZ#2216496.
|
|
|
|
export LIBGUESTFS_APPEND=nosmp
|
|
|
|
|
2023-01-30 15:40:28 +00:00
|
|
|
virt-builder -vx fedora-30
|
|
|
|
virt-v2v -vx -i disk fedora-30.img -o null
|