Skip to content

Commit 0a89cc9

Browse files
authored
Merge pull request #27 from openhpc/2025-07-17-sleep
fix(test): add sleep to ensure system reboot before checking ssh
2 parents 2b375c6 + d8e6b50 commit 0a89cc9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ansible/roles/test/files/lenovo_launch_sms.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ echo -n "----> Rebooting ${TARGET}: "
6060
echo "----> done"
6161

6262
echo "--> Waiting for ${TARGET} to finish installation"
63+
# Wait some time to make sure the system is rebooting
64+
sleep 15
6365
# This can take up to 30 minutes
6466
for i in $(seq 90 -1 1); do
6567
echo "----> ${i}"

0 commit comments

Comments
 (0)