index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-09-01 14:55:49 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-09-01 14:55:49 +0200 |
commit | a22a859b7f929285c10fce05af3667d0c64e8d67 (patch) | |
tree | a40f9bb610ba1a7a472be05c45cfdbd71ec3a01f /examples | |
parent | 4dcafa7ec87f021af109209d27a51ac4c9efb0db (diff) |
-rw-r--r-- | examples/guided.py | 5 |
diff --git a/examples/guided.py b/examples/guided.py index c6e6297c..a3331b73 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -9,9 +9,10 @@ def perform_installation(device, boot_partition, language, mirrors): with archinstall.Installer(device, boot_partition=boot_partition, hostname=hostname) as installation: if len(mirrors): archinstall.log(f'Waiting for automatic mirror selection has completed before using custom mirrors.') - while archinstall.service_state('reflector') != 'dead': - print(archinstall.service_state('reflector')) + while (status := archinstall.service_state('reflector')) != 'dead': + print([status], status != 'dead') time.sleep(0.25) + print('Completed.') archinstall.use_mirrors(mirrors) # Set the mirrors for the live medium if installation.minimal_installation(): |