From a8146fe9158a6618a1467d70ed8a3c376c5d644d Mon Sep 17 00:00:00 2001 From: caleb Date: Thu, 6 Jun 2024 08:04:53 -0400 Subject: [PATCH] bump tries=30 on install() --- truenas_installer/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truenas_installer/install.py b/truenas_installer/install.py index b8d8a67..adcfb12 100644 --- a/truenas_installer/install.py +++ b/truenas_installer/install.py @@ -26,7 +26,7 @@ async def install(disks, set_pmbr, authentication, post_install, sql, callback): disk_parts = list() part_num = 3 for disk in disks: - found = (await get_partitions(disk, [part_num]))[part_num] + found = (await get_partitions(disk, [part_num], tries=30))[part_num] if found is None: raise InstallError(f"Failed to find data partition on {disk!r}") else: