iPXE discussion forum
adding a delay on error to undionly.kpxe - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: adding a delay on error to undionly.kpxe (/showthread.php?tid=6825)



adding a delay on error to undionly.kpxe - ArneLovius - 2013-02-17 15:28

Hi,

I have an existing production WDS Linux setup, that I don;t want to "break" before I can get iPXE working...

I have built iPXE from git

I am chainloading iPXE fronm WDS Linus, and using the userclass ipxe to specify an iSCSI iqn using the starwind iSCSI target.

I see the attempt to connect to the target, fail and then "instantly" return to my WDSLinux menu.

I have confirmed with a different initiator that I can connect to the target.

Trying to catch the error with the break key is nigh on impossible

I've tried using an iPhone to capture it, but the refresh happens to quickly for it to capture it (multiple overwritten smeared lines as it scrolls up)

Is there a configure/build option I can use to put a delay into the boot process, so when it either fails, or even just on completion, it waits for user input ?


RE: adding a delay on error to undionly.kpxe - MultimediaMan - 2013-02-17 21:55

In your boot script;

Add a
Code:
||
after commands you want to examine,

and a
Code:
sleep 3
in between each problem command.


RE: adding a delay on error to undionly.kpxe - ArneLovius - 2013-02-17 23:18

I "fixed" it a different way, by rebuilding with syslog output :-)