diff options
-rw-r--r-- | TODO | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -397,6 +397,25 @@ virt-sysprep ideas - remove or modify UUIDs in /etc/fstab (eg. on Ubuntu) (thanks Joshua Daniel Franklin) +Kazuo Moriwaka adds: + + - /etc/machine-id (created by systemd) + - "yum clean all" (or the equivalent) to remove yum caches + - lvm PV and VG have its UUID. 'pvchange -u' and 'vgchange -u' generate + new UUID (causes trouble with clustered LVM). + - ABRT have crash report and core dumps under /var/spool/abrt. This can + be deleted. + - swap devices (both of block device and file) should be wiped. This may + good for security purpose, and size. I found virt-sparsify can clear + swap partition. + - --script is nice. Defining default sysprep script directory + like /usr/lib/guestfs/sysprep-scripts.d/ may be useful to integrate + other package maintainer(or ISV)'s effort. + - To achieve better (or crazy) coverage, a simple examination will be + help: + Install the same kickstart into VM twice, and diff the trees. + Many autogenerated IDs and configs can be found :) + As well as 'virt-sysprep' there is a case for a 'virt-customize' tool which can customize templated guests. This would be useful within companies/organizations that want to offer multiple guests, but all |