Pushing config changes
Alastair (Alex) Galloway
ag at a.co.nz
Fri Jan 9 15:21:11 UTC 2004
Hi,
Joshua Sahala <JSahala at fusiontel.com> writes:
> it isn't pretty (mostly because my scripting is limited), but it
> works:
>
> for routers in `cat /rancid/router.list`
> do
> jlogin -x /Update_File/Policy_1 $routers
> done
I just keep it all on the command line, and also pipe it to tee so that I
can go back and see what happened if something goes wrong.
$ jlogin -x ./Update_File/Policy_1 `cat /rancid/router.list` | tee Policy_1-output
Cheers,
Alastair
More information about the Rancid-discuss
mailing list