Hello Milosz,
Thanks for replying. I tried the changing the prompts by adding strings from welcome messages and login_prompt but it looks like it is not able to reach that point where my login prompt is displayed. My login prompt(circled) is displayed in logs only after auto-login fails. Please find the screenshot attached. Is there is any limit to number of line it try to match the prompt?
Could you please point me to the code that lava uses to detect the prompt. [cid:96f339f1-2e73-45c2-bb37-bbc5b38d1192] Thanks, Sweta ________________________________ From: Milosz Wasilewski milosz.wasilewski@foundries.io Sent: Thursday, October 24, 2024 1:07 PM To: Sweta Ghosh sweta.ghosh@nagarro.com Cc: lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [lava-users] Re: Auto login fails after adding banner message before login prompt
[Email from a non-Nagarro source: please exercise caution with links and attachments]
Sweta,
On Thu, Oct 24, 2024 at 8:12 AM Sweta Ghosh sweta.ghosh@nagarro.com wrote:
Hello Milosz,
I couldn't understand what you mean by " Did you try to change the prompt to sth else?" . Could you please share an example , how can I do the same.
This part:
prompts: - 'login:'
I think this might be your issue. Did you try to change the prompt to sth else?
Try changing the prompt and see if it helps.
Best Regards, Milosz