mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
sysprep: remove more logs
- remove firewalld, grubby, and proftpd logs - extend the cups log removal also to its timestamped rotated logs - remove also the libvirt/libxl logs
This commit is contained in:
@@ -45,16 +45,20 @@ let globs = List.sort compare [
|
||||
"/var/log/debug*";
|
||||
"/var/log/syslog*";
|
||||
"/var/log/faillog*";
|
||||
"/var/log/firewalld*";
|
||||
"/var/log/grubby*";
|
||||
"/var/log/xferlog*";
|
||||
|
||||
(* logfiles configured by /etc/logrotate.d/* *)
|
||||
"/var/log/BackupPC/LOG";
|
||||
"/var/log/ceph/*.log";
|
||||
"/var/log/chrony/*.log";
|
||||
"/var/log/cups/*_log";
|
||||
"/var/log/cups/*_log*";
|
||||
"/var/log/glusterfs/*glusterd.vol.log";
|
||||
"/var/log/glusterfs/glusterfs.log";
|
||||
"/var/log/httpd/*log";
|
||||
"/var/log/jetty/jetty-console.log";
|
||||
"/var/log/libvirt/libxl/*.log";
|
||||
"/var/log/libvirt/libvirtd.log";
|
||||
"/var/log/libvirt/lxc/*.log";
|
||||
"/var/log/libvirt/qemu/*.log";
|
||||
|
||||
Reference in New Issue
Block a user