[rancid] Help Using git with RANCID

Ryan Melville rmelville at otes.com
Fri Aug 17 02:28:01 UTC 2018


Thank you! I will try this and report back.

Regards,

Ryan Melville
________________________________
From: heasley <heas at shrubbery.net>
Sent: Thursday, August 16, 2018 2:53 AM
To: Ryan Melville
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Help Using git with RANCID

Wed, Aug 15, 2018 at 08:17:28PM +0000, Ryan Melville:
> Hi,
>
> I have tried my darndest to git RANCID working with a remote git server based on the few web articles and forum threads, but am still missing something.  Assistance would be appreciated.
>
> rancid.conf
> LIST_OF_GROUPS="all"
> RCSSYS=git; export RCSSYS
> CVSROOT=$BASEDIR/repos; export CVSROOT
>
> I ran sudo -H -u rancid /mnt/rancid/rancid/bin/rancid-cvs and it seemed happy.

perfect.
cd $BASEDIR/<group>
git remote add <somename> <giturlofexistingremote>
git remote set-url --add --push origin $CVSROOT/all
git remote set-url --add --push origin <giturlofexistingremote>

test (and initial push) it:
        git push <somename>
This must not require interactive authentication, which i leave to your
own research.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20180817/4e61ea3f/attachment.html>


More information about the Rancid-discuss mailing list