virt-sysprep: no operating systems were found in the guest image
Issue
- When performing
virt-sysprepon 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
/usrpartition. libguestfsprior tolibguestfs-1.32.7-3.el7orlibguestfs-1.20.11-20.el6.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.