Skip to content

Commit c5d9be6

Browse files
committed
Update: mirrors are now re-ordered by default if a gateway and country is found
1 parent bbcfd7a commit c5d9be6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

archinstall.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,7 @@ def guess_country(ip, *positionals, **kwargs):
772772

773773
def setup_args_defaults(args, interactive=True):
774774
if not 'size' in args: args['size'] = '100%'
775+
if not 'mirrors' in args: args['mirrors'] = True
775776
if not 'start' in args: args['start'] = '513MiB'
776777
if not 'pwfile' in args: args['pwfile'] = '/tmp/diskpw'
777778
if not 'hostname' in args: args['hostname'] = 'Archinstall'
@@ -1178,7 +1179,7 @@ def run_post_install_steps(*positionals, **kwargs):
11781179
format_disk('drive', start='start', end='size')
11791180

11801181
refresh_partition_list('drive')
1181-
print(f'Partitions: (Boot: {list(args["partitions"].keys())[0]})')
1182+
print(f'[N] Partitions: {len(args["partitions"])} (Boot: {list(args["partitions"].keys())[0]})')
11821183

11831184
if len(args['partitions']) <= 0:
11841185
print(f'[E] No partitions were created on {args["drive"]}', o)

0 commit comments

Comments
 (0)