[rancid] Fortigate issue with alpha release
heasley
heas at shrubbery.net
Wed Jun 21 16:39:55 UTC 2017
Wed, Jun 21, 2017 at 04:32:09PM +0000, Merijn Evertse:
> Hi,
>
> Yes, working:
> -re "^(.+$prompt)" {
> regsub -all "^\[#\\$\]+\[#\\$\] " $expect_out(0,string) {} junk;
> regsub -all "\[\]\[\(\)\]" $junk {\\&} junk;
> set prompt "^$junk";
> }
>
> Thanks, I will run it on a batch of Fortigate units.
excellent. Please verify that -x works too and that $prompt is receiving
a proper value, which should be something like "^hostname # "
More information about the Rancid-discuss
mailing list