mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
todo: More suggestions for virt-sysprep (thanks Kazuo Moriwaka).
This commit is contained in:
19
TODO
19
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
|
||||
|
||||
Reference in New Issue
Block a user