[rancid] Help Using git with RANCID
heasley
heas at shrubbery.net
Thu Aug 16 07:52:58 UTC 2018
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.
More information about the Rancid-discuss
mailing list