mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
sysprep: Add GDM and session preferences to logfiles.
This commit is contained in:
3
TODO
3
TODO
@@ -554,10 +554,7 @@ virt-sysprep ideas
|
||||
that you would want to look into.
|
||||
- secure erase of inodes etc using scrub (Steve Grubb)
|
||||
- other directories that could require cleaning include:
|
||||
/var/cache/gdm/*
|
||||
/var/lib/fprint/*
|
||||
/var/run/*
|
||||
/var/lib/AccountService/users/*
|
||||
/var/lib/sss/db/*
|
||||
/var/lib/samba/*
|
||||
/var/lib/samba/*/*
|
||||
|
||||
@@ -42,6 +42,11 @@ let globs = List.sort compare [
|
||||
"/root/install.log";
|
||||
"/root/install.log.syslog";
|
||||
"/root/anaconda-ks.cfg";
|
||||
|
||||
(* GDM and session preferences. *)
|
||||
"/var/cache/gdm/*";
|
||||
"/var/lib/AccountService/users/*";
|
||||
"/var/lib/fprint/*"; (* Fingerprint service files *)
|
||||
]
|
||||
let globs_as_pod = String.concat "\n" (List.map ((^) " ") globs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user