[rancid] Re: autoenable vs noenable
Chris Gauthier
cgauthier at mapscu.com
Mon Mar 8 19:36:05 UTC 2010
I think an easier solution than a hack would be to create two separate rancid groups. One uses the enable and one doesn't.
Chris G.
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Bass, Teresa R
Sent: Monday, March 08, 2010 11:31 AM
To: rancid-discuss at shrubbery.net
Subject: [rancid] autoenable vs noenable
I wonder if anyone has run into this problem:
Half of our switches are HP 4100's which cannot be autoenabled. The other half can be autoenabled.
The switch names I need to enter into .cloginrc are AB* but I have to do 1/2 as
" AB* add autoenable 1"
and the other 1/2 as
"AB* add noenable 1".
I'm trying to find a way around entering each individual device into .cloginrc as it is such a large number of devices.
Has anyone found a hack to the hlogin script that will allow me to use autoenable AND noenable without specifying each device name?
Any help would be appreciated!
Teresa
More information about the Rancid-discuss
mailing list