[rancid] Nexus 7k & bootvar_debug churn

Vinny.Abello at nttdata.com Vinny.Abello at nttdata.com
Thu May 25 14:25:07 UTC 2017


Thanks!

-Vinny

-----Original Message-----
From: heasley [mailto:heas at shrubbery.net] 
Sent: Wednesday, May 24, 2017 3:05 PM
To: Nick Hilliard <nick at foobar.org>
Cc: Vinny.Abello at nttdata.com; Charles.Brooks at hbcs.org; rancid-discuss at shrubbery.net
Subject: Re: [rancid] Nexus 7k & bootvar_debug churn

Wed, May 24, 2017 at 07:49:43PM +0100, Nick Hilliard:
> Vinny.Abello at nttdata.com wrote:
> > Thank you, Nick. On my deployment, I don't have an nxrancid file anywhere, but found the same logic in nxos.pm which I applied this to. I suspect this will resolve it.
> 
> er yeah, sorry this came from a rancid 2 deployment, but the patch 
> should work against nxos.pm too.

Index: lib/nxos.pm.in
===================================================================
--- lib/nxos.pm.in      (revision 3646)
+++ lib/nxos.pm.in      (working copy)
@@ -487,6 +487,9 @@
        # Drop ee.log
        /\s+ee\.log(?:\..*)?$/ && next;
 
+       # Drop bootvar_debug log files
+       /\s+bootvar_debug\./ && next;
+
        # Drop accounting.log
        /\s+accounting\.log$/ && next;
 

______________________________________________________________________
Disclaimer: This email and any attachments are sent in strictest confidence
for the sole use of the addressee and may contain legally privileged,
confidential, and proprietary data. If you are not the intended recipient,
please advise the sender by replying promptly to this email and then delete
and destroy this email and any attachments without any further use, copying
or forwarding.



More information about the Rancid-discuss mailing list