summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-24 13:41:43 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-24 13:42:06 +0100
commit97aeaa86d0e311853534de10367e821445cc655d (patch)
tree2a572193c0c1315394b52156b4257d6d9cedb065
parent5d0ef099631e84adfca714b9fa28290778b6e3b7 (diff)
downloadlibguestfs-97aeaa86d0e311853534de10367e821445cc655d.tar.gz
libguestfs-97aeaa86d0e311853534de10367e821445cc655d.tar.xz
libguestfs-97aeaa86d0e311853534de10367e821445cc655d.zip
todo: More suggestions for virt-sysprep (thanks Kazuo Moriwaka).
-rw-r--r--TODO19
1 files changed, 19 insertions, 0 deletions
diff --git a/TODO b/TODO
index 362a79e1..a2dd74f3 100644
--- a/TODO
+++ b/TODO
@@ -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