[rancid] interactive after -x

heasley heas at shrubbery.net
Mon Sep 15 17:39:49 UTC 2014


Fri, Sep 12, 2014 at 10:50:34AM -0400, Jon Lewis:
> I recently had a desire to be able to use the rancid login scripts to run 
> a series of commands on a large number of devices (altering their 
> configs), and when finished with the -x command file, rather than exit, go 
> interactive so that I could do some testing/verification before 
> disconnecting.
> 
> I didn't see that this functionality was offered in the versions we have 
> installed, so I patched it into flogin and clogin.  Assuming I didn't 
> overlook this functionality already being present, I wonder if the patches 
> might make it into a future version?  My expect is pretty rusty, but it 
> didn't take much to add a command line switch telling [fc]login to go 
> interactive after running the -x commands file.

sure.  brownie points if you update all the login scripts and the
documentation.


More information about the Rancid-discuss mailing list