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.

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Reply via email to