[rancid] html colorized mail diffs
Ignacio Freyre
nachofw at vera.com.uy
Tue Feb 2 15:58:02 UTC 2016
thanks heasley, ultimately i made it work just changing the rancid config file.
the python script is much more easy to read, i went with that one.
1) chmod +x /var/lib/rancid/diff2html.py
2) config change -> /etc/rancid/rancid.conf
MAILHEADERS="Content-Type: text/html; charset=ISO-8859-1"; export MAILHEADERS
DIFFSCRIPT="/var/lib/rancid/diff2html.py"; export DIFFSCRIPT
scripts (both of them work):
http://stackoverflow.com/questions/3827862/convert-raw-diff-file-to-colorized-html-output
http://www.linuxjournal.com/content/convert-diff-output-colorized-html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20160202/a0f78937/attachment.html>
More information about the Rancid-discuss
mailing list