#!/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. # 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 # . systemctl isolate multi-user.target # Work around RHBZ#2216496. export LIBGUESTFS_APPEND=nosmp virt-builder -vx fedora-30 virt-v2v -vx -i disk fedora-30.img -o null