mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-22 02:12:25 +00:00
Leave dhclient leases of Debian and Ubuntu out of captures
dhclient keeps its leases in /var/lib/dhcp there, and on EL also as *.leases next to the *.lease files already excluded. Keep dhcpd.leases of a DHCP server, which lives in the same directory.
This commit is contained in:
+3
-1
@@ -165,7 +165,9 @@ CAPTURE_DIRS_ONLY = ('/var/log', '/var/cache/apt')
|
||||
# writes the node's own (as with the netplan files masked in capture_fs)
|
||||
CAPTURE_DROP_FILES = (
|
||||
'/var/lib/systemd/random-seed', '/var/lib/rsyslog/imjournal.state',
|
||||
'/var/lib/NetworkManager/*.lease', '/var/lib/dhclient/*.lease',
|
||||
'/var/lib/NetworkManager/*.lease', '/var/lib/dhclient/*.lease*',
|
||||
# dhclient on Debian and Ubuntu, unlike dhcpd.leases of a DHCP server
|
||||
'/var/lib/dhcp/dhclient*.leases',
|
||||
'/root/.*_history', '/root/.lesshst', '/root/.viminfo',
|
||||
'/etc/NetworkManager/system-connections/*',
|
||||
'/etc/sysconfig/network-scripts/ifcfg-*')
|
||||
|
||||
Reference in New Issue
Block a user