We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df3f13b commit a84ecc4Copy full SHA for a84ecc4
lib/options/options-lib_dcu.robot
@@ -181,6 +181,11 @@ Boot System Or From Connected Disk
181
[Documentation] Keyword makes the DUT to reboot in chosen OS.
182
[Arguments] ${env_id}
183
184
+ IF '${BOOTED_OS_ID}' == '${env_id}'
185
+ Log Target OS already booted
186
+ RETURN
187
+ END
188
+
189
IF '${BOOTED_OS_ID}'.startswith('3') # Windows
190
Execute Reboot Command windows
191
Boot System Or From Connected Disk ${DEFAULT_BOOT_OS_ID}
@@ -193,11 +198,6 @@ Boot System Or From Connected Disk
193
198
Login To Linux
194
199
Switch To Root User
195
200
196
- IF '${BOOTED_OS_ID}' == '${env_id}'
197
- Log Target OS already booted
- RETURN
- END
-
201
${os_boot_id}= Set Nextboot ${env_id}
202
Write Into Terminal reboot
203
0 commit comments