2
2
Resource terminal.robot
3
3
4
4
5
- *** Variables ***
6
- # Default DTS link for iPXE boot, can be overwritten by CMD:
7
- ${DTS_IPXE_LINK } = http://boot.dasharo.com/dts/dts.ipxe
8
-
9
-
10
5
*** Keywords ***
11
6
Boot Dasharo Tools Suite Via IPXE Shell
12
7
[Documentation] Boots DTS via iPXE shell by chaining script. Arguments:
@@ -18,7 +13,7 @@ Boot Dasharo Tools Suite Via IPXE Shell
18
13
# 1) Check and enable network boot, it is disabled by default:
19
14
Make Sure That Network Boot Is Enabled
20
15
21
- # 2) Enter iPXE:
16
+ # 2) Enter iPXE shell :
22
17
Enter IPXE
23
18
24
19
# 3) Set up net card:
@@ -33,6 +28,22 @@ Boot Dasharo Tools Suite Via IPXE Shell
33
28
Read From Terminal Until ok
34
29
Set DUT Response Timeout 5m
35
30
31
+ Boot Dasharo Tools Suite Via IPXE Menu
32
+ [Documentation] Boots DTS via option available in Dasharo iPXE menu.
33
+ # 1) Check and enable network boot, it is disabled by default:
34
+ Make Sure That Network Boot Is Enabled
35
+
36
+ # 2) Enter iPXE menu:
37
+ ${boot_menu } = Enter Boot Menu Tianocore And Return Construction
38
+ Enter Submenu From Snapshot ${boot_menu } ${IPXE_BOOT_ENTRY }
39
+ ${ipxe_menu } = Get IPXE Boot Menu Construction
40
+
41
+ # 3) Boot DTS:
42
+ Enter Submenu From Snapshot ${ipxe_menu } Dasharo Tools Suite
43
+ Set DUT Response Timeout 5m
44
+ Read From Terminal Until .cpio.gz...
45
+ Read From Terminal Until ok
46
+
36
47
Boot Dasharo Tools Suite
37
48
[Documentation] Keyword allows to boot Dasharo Tools Suite. Takes the
38
49
... boot method (from USB or from iPXE) as parameter.
@@ -48,18 +59,12 @@ Boot Dasharo Tools Suite
48
59
Enter Submenu From Snapshot ${boot_menu } ${USB_MODEL }
49
60
END
50
61
ELSE IF '${dts_booting_method } '=='iPXE'
51
- IF ${NETBOOT_UTILITIES_SUPPORT } == ${TRUE }
62
+ IF ${BOOT_DTS_FROM_IPXE_SHELL } == ${ TRUE } or ${ NETBOOT_UTILITIES_SUPPORT } == ${TRUE }
52
63
# DTS_IPXE_LINK can be defined before running tests, e.g. via CMD or
53
64
# some file:
54
65
Boot Dasharo Tools Suite Via IPXE Shell ${DTS_IPXE_LINK }
55
66
ELSE
56
- ${boot_menu } = Enter Boot Menu Tianocore And Return Construction
57
- Enter Submenu From Snapshot ${boot_menu } ${IPXE_BOOT_ENTRY }
58
- ${ipxe_menu } = Get IPXE Boot Menu Construction
59
- Enter Submenu From Snapshot ${ipxe_menu } Dasharo Tools Suite
60
- Set DUT Response Timeout 5m
61
- Read From Terminal Until .cpio.gz...
62
- Read From Terminal Until ok
67
+ Boot Dasharo Tools Suite Via IPXE Menu
63
68
END
64
69
ELSE
65
70
FAIL Unknown or improper connection method: ${dts_booting_method }
0 commit comments