[rancid] Re: autoenable vs noenable
john heasley
heas at shrubbery.net
Mon Mar 8 19:50:17 UTC 2010
Mon, Mar 08, 2010 at 11:36:05AM -0800, Chris Gauthier:
> I think an easier solution than a hack would be to create two separate rancid groups. One uses the enable and one doesn't.
I had written a patch for clogin to remove the need for autoenable. Has
anyone tried that? It could be adapted for hp.
btw, noenable is a different knob. See the cloginrc(5) man page for those
two directives.
> 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
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list