virt-sysprep: Simplify calls to guestfish --remote.
[libguestfs.git] / TODO
diff --git a/TODO b/TODO
index 398abdc..bb9af78 100644 (file)
--- a/TODO
+++ b/TODO
@@ -549,6 +549,7 @@ virt-sysprep ideas
    . install a firstboot script      virt-sysprep --script=/tmp/foo.sh
    . run an external shell script
    . run external guestfish script   virt-sysprep --fish=/tmp/foo.fish
+   . rm /var/cache/apt/archives/*deb
  - log files (thanks Steve Grubb)
    . as well as the obvious log files, also
      utmp/wtmp/btmp/tallylog and pam_faillock's data files
@@ -564,3 +565,20 @@ virt-sysprep ideas
    that you would want to look into.
  - secure erase of inodes etc using scrub (Steve Grubb)
  - touch /.autorelabel if we create any new files (thanks Dan Berrange)
+ - should we use guestmount instead of guestfish
+   and would that make it easier to run the tool inside VMs?
+ - other directories that could require cleaning include:
+    /var/lib/dhcpd/*
+    /var/lib/dhclient/*
+    /var/cache/gdm/*
+    /var/lib/fprint/*
+    /var/run/*
+    /var/spool/mail/*
+    /var/spool/cron/*
+    /var/lib/AccountService/users/*
+    /var/cache/yum/*
+    /var/lib/yum/*   (only /var/lib/yum/uuid)
+    /var/lib/sss/db/*
+    /var/lib/samba/*
+    /var/lib/samba/*/*
+  (thanks Marko Myllynen, James Antill)