Discussion:
[rancid] hash key triggers cvs
marktpl 97
2018-03-19 09:41:06 UTC
Permalink
Hi,

The config I download with rancid 3.6 works just fine. One thing is
bugging me.

The config contains a line like this : server host 192.168.1.1 key
"b2d85dfa2c6950184c35b6647b5c7a"
The hash changes every time you check the config, which triggers CVS.
When I add : /^server .*key/         && next;
to the perl module, CVS is no longer triggered, but the line does no
longer appear in my backup file.

Is there a way to store the line (without the hash is fine by me) in the
config and not trigger CVS?

Kind regards,
Mark T
heasley
2018-03-19 11:21:06 UTC
Permalink
Post by marktpl 97
Hi,
The config I download with rancid 3.6 works just fine. One thing is
bugging me.
The config contains a line like this : server host 192.168.1.1 key
"b2d85dfa2c6950184c35b6647b5c7a"
The hash changes every time you check the config, which triggers CVS.
When I add : /^server .*key/         && next;
to the perl module, CVS is no longer triggered, but the line does no
longer appear in my backup file.
what type of device? and have you set FILTER_PWDS or FILTER_OSC in
rancid.conf?
Post by marktpl 97
Is there a way to store the line (without the hash is fine by me) in the
config and not trigger CVS?
Kind regards,
Mark T
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Loading...