virt-sysprep: no operating systems were found in the guest image
Issue
- When performing
virt-sysprep
on a RHEL7 guest image, see below error:
# virt-sysprep -a /home/vm/RHEL72_ks_sysprep.qcow2
Examining the guest ...
virt-sysprep: no operating systems were found in the guest image
Environment
- Red Hat Enterprise Linux 7 VM guest image, with separated
/usr
partition. libguestfs
prior tolibguestfs-1.32.7-3.el7
orlibguestfs-1.20.11-20.el6
.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.