[rancid] Cisco
Adam Korab
adam.korab at gmail.com
Tue Aug 2 16:16:09 UTC 2011
Hi John,
On Tue, Aug 2, 2011 at 10:45 AM, john heasley <heas at shrubbery.net> wrote:
>
> it wasn't coded properly when the command was added to the ios code.
> report it to the TAC and try a newer image or filter the line in the
> rancid script.
Can I get a quick how-to on filtering lines within rancid? I need
this for another application as well; I've got another line to filter
within the fortigate. I attempted modeling it after what I saw in
fnracid for conf_file_ver
# remove occurrances of conf_file_ver
next if (/^#?conf_file_ver=/);
I added a next if immediately after this one, matching off of Disk
Usage, which is also prepended with # in the config:
# remove disk usage cycling from fortianalyzer
next if (/^ #?Disk Usage/);
But it's not suppressing these. What am I missing? The line in question is:
- #Disk Usage: Free 145.30GB, Total 330.10GB
+ #Disk Usage: Free 144.76GB, Total 330.10GB
Thanks,
--Adam
More information about the Rancid-discuss
mailing list