start all libvirtd services after installing libvirt-daemon-kvm

https://lists.corp.redhat.com/archives/osci-list/2023-June/001238.html

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Laszlo Ersek 2023-06-26 11:28:34 +02:00
parent 552929e8d3
commit a7a1117b6b
1 changed files with 6 additions and 2 deletions

View File

@ -6,8 +6,12 @@ set -x
# virt-v2v is extensively tested on real guests by the QE
# team using a mix of automated and manual testing.
# Fix libvirt.
systemctl restart libvirtd
# 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
virt-builder -vx fedora-30
virt-v2v -vx -i disk fedora-30.img -o null