mirror: log the the autoinstall repr. of a mirror when iterating

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
Olivier Gayot 2023-02-13 10:16:37 +01:00
parent 51b82e7897
commit 093019b4ca
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ class MirrorController(SubiquityController):
# Try each mirror one after another.
compatibles = self.model.compatible_primary_candidates()
for idx, candidate in enumerate(compatibles):
log.debug("Iterating over %s", candidate.serialize_for_ai())
if idx != 0:
# Sleep before testing the next candidate..
log.debug("Will check next candiate mirror after 10 seconds.")