_______________________________________________Hi Pavan,
what happens if you set the 'login_prompt' to (parts of) that "press enter" string?
Sure it doesn't work currently, because the string you configured doesn't get displayed
StefanAm 17. Mai 2023 07:00:31 MESZ schrieb pawanKumar <pawan4749@gmail.com>:HiThe auto-login feature is not working here, job is failing with "wait for Prompt timed out".As I mentioned in a previous email, after completion the log login prompt is not displayed automatically and you need to press enter key to see the login prompt.Below is the definition I'm using:device_type: DEVICE-TYPE1
job_name: boot the device
timeouts:
job:
minutes: 15
action:
minutes: 10
connection:
minutes: 5
visibility: public
actions:
- command:
name: relay_pwr_on
timeout:
minutes: 1
- boot:
method: u-boot
commands:
- boot
auto_login:
login_prompt: 'rezi-703683 login:'
username: root
login_commands:
- touch /home/root/test_file
- ifconfig band0
- cat /etc/os-release
prompts:
- 'root@rezi'
- '#'Best RegardsPavan KumarOn Tue, May 16, 2023 at 12:53 PM Remi Duraffort <remi.duraffort@linaro.org> wrote:Le lun. 15 mai 2023 à 11:32, pawanKumar <pawan4749@gmail.com> a écrit :Hi Stefan,It means after the boot process completion, i should press "enter" then only it displays a login prompt to pass username then enters into the system.As answered by stefan, using auto-login feature should work.Please check the attachment.Best RegardsPavan Kumar_______________________________________________On Mon, May 15, 2023 at 1:22 PM Stefan <lists.lavasoftware.org_23@green-sparklet.de> wrote:Hey Pavan kumar,
what do mean by "after U-Boot process completion"? What does your config look like? Are you still in U-Boot, or did you already boot up your system?
For the first one, it would help to modify |'||base_uboot_bootcmd' which can be overridden in your device template.
If your system is already booted up, it would be up to auto_login <https://docs.lavasoftware.org/lava/actions-boot.html#auto-login> to be configured properly and take over.
Regards
Stefan
|
On 5/15/2023 9:29 AM, pawanKumar wrote:
> Hello Team,
>
> Good Day to you!
>
> I have a requirement to pass "enter" key after u-boot process completion, to enter into the system.
> Without pressing any key cannot enter into prompt and it stays stagnant.
>
> Please let me know how to pass "enter" press key at the end of u-boot log.
>
>
> Thanks
> Pavan kumar
>
> _______________________________________________
> Lava-users mailing list -- lava-users@lists.lavasoftware.org
> To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
Lava-users mailing list -- lava-users@lists.lavasoftware.org
To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org
To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s--Rémi DuraffortPrincipal Tech LeadAutomation Software TeamLinaro
Lava-users mailing list -- lava-users@lists.lavasoftware.org
To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s