virt-sysprep
$ virt-sysprep --list-operations bash-history Remove the bash history in the guest blkid-tab Remove blkid tab in the guest ca-certificates Remove CA certificates in the guest cron-spool Remove user at-jobs and cron-jobs dhcp-client-state Remove DHCP client leases dhcp-server-state Remove DHCP server leases dovecot-data Remove Dovecot (mail server) data flag-reconfiguration Flag the system for reconfiguration hostname Change the hostname of the guest kerberos-data Remove Kerberos data in the guest logfiles Remove many log files from the guest mail-spool Remove email from the local mail spool directory net-hwaddr Remove HWADDR (hard-coded MAC address) configuration package-manager-cache Remove package manager cache pam-data Remove the PAM data in the guest random-seed Generate random seed for guest rhn-systemid Remove the RHN system ID samba-db-log Remove the database and log files of Samba script Run arbitrary scripts against the guest smolt-uuid Remove the Smolt hardware UUID ssh-hostkeys Remove the SSH host keys in the guest ssh-userdir Remove ".ssh" directories in the guest sssd-db-log Remove the database and log files of sssd udev-persistent-net Remove udev persistent net rules user-account Remove the user accounts in the guest utmp Remove the utmp file yum-uuid Remove the yum UUID