2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-27 19:37:44 +00:00

Extend the config.efi wait

It can take more than 30 seconds to generate the config in some
situations.

Change-Id: I028301089d9b93dfbd5553a2ea62f8b4c636adbb
This commit is contained in:
Jarrod Johnson 2018-02-12 10:36:16 -05:00
parent ac1f159ea5
commit 8207e1d8df

View File

@ -251,7 +251,7 @@ class LenovoFirmwareConfig(object):
def get_fw_options(self):
options = {}
data = None
for i in range(0, 15):
for i in range(0, 30):
filehandle = self.imm_open("config.efi")
size = self.imm_size("config.efi")
data = self.imm_read(filehandle, size)