Why doesn't virt-sysprep remove the machine-id when using the default operations?
Issue
When using virt-sysprep to prepare or seal a qcow image, it should remove /etc/machine-id according to the operations enabled by default. However, after successful execution of virt-sysprep a value is still present in /etc/machine-id.
Environment
- Red Hat Enterprise Linux (RHEL) 6.x
- Red Hat Enterprise Linux (RHEL) 7.x
- Red Hat Enterprise Linux (RHEL) 8.x
- Red Hat Enterprise Linux (RHEL) 9.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.