A scriptlet is a single iPXE command that can be stored in non-volatile option storage and used to override the default "autoboot" behaviour without having to reflash the iPXE image. For example, a scriptlet could contain autoboot || reboot to instruct iPXE to reboot the system if booting fails. Unlike an embedded image, the presence of a scriptlet does not inhibit the initial "Press Ctrl-B..." prompt. This allows the user to recover from setting a faulty scriptlet. Originally-implemented-by: Glenn Brown <glenn@myri.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
15 |
|
15 |
|
16 |
|
16 |
|
17 |
|
17 |
|
|
18 |
|
|
18 |
|
19 |
|
19 |
|
20 |
|
20 |
|
21 |
|
|
|
||
28 |
|
29 |
|
29 |
|
30 |
|
30 |
|
31 |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
31 |
|
40 |
|
32 |
|
41 |
|
33 |
|
42 |
|
|
|
||
51 |
|
60 |
|
52 |
|
61 |
|
53 |
|
62 |
|
|
63 |
|
|
54 |
|
64 |
|
55 |
|
65 |
|
56 |
|
66 |
|
|
|
||
82 |
|
92 |
|
83 |
|
93 |
|
84 |
|
94 |
|
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
85 |
|
98 |
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
90 |
|
105 |
|
91 |
|
106 |
|
92 |
|
107 |
|
|
|
||
307 |
|
307 |
|
308 |
|
308 |
|
309 |
|
309 |
|
310 |
|
|
|
|
310 |
|
|
311 |
|
311 |
|
312 |
|
312 |
|
313 |
|
313 |
|
|
314 |
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
314 |
|
321 |
|
315 |
|
322 |
|
316 |
|
323 |
|