Debugging
This commit is contained in:
parent
4dcafa7ec8
commit
a22a859b7f
|
|
@ -9,9 +9,10 @@ def perform_installation(device, boot_partition, language, mirrors):
|
||||||
with archinstall.Installer(device, boot_partition=boot_partition, hostname=hostname) as installation:
|
with archinstall.Installer(device, boot_partition=boot_partition, hostname=hostname) as installation:
|
||||||
if len(mirrors):
|
if len(mirrors):
|
||||||
archinstall.log(f'Waiting for automatic mirror selection has completed before using custom mirrors.')
|
archinstall.log(f'Waiting for automatic mirror selection has completed before using custom mirrors.')
|
||||||
while archinstall.service_state('reflector') != 'dead':
|
while (status := archinstall.service_state('reflector')) != 'dead':
|
||||||
print(archinstall.service_state('reflector'))
|
print([status], status != 'dead')
|
||||||
time.sleep(0.25)
|
time.sleep(0.25)
|
||||||
|
print('Completed.')
|
||||||
|
|
||||||
archinstall.use_mirrors(mirrors) # Set the mirrors for the live medium
|
archinstall.use_mirrors(mirrors) # Set the mirrors for the live medium
|
||||||
if installation.minimal_installation():
|
if installation.minimal_installation():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue