index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-29 13:40:47 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-29 13:40:47 +0100 |
commit | 53669d63c9e01c2ed6e47d718b6983442e57fb6d (patch) | |
tree | 884d8013bdc05518f3534cccb85af80084c71402 /archinstall.py | |
parent | 670afabf9f3d2a3fce43ceb4d134af89b42442ba (diff) |
-rw-r--r-- | archinstall.py | 4 |
diff --git a/archinstall.py b/archinstall.py index 06c6aa63..c0018858 100644 --- a/archinstall.py +++ b/archinstall.py @@ -781,7 +781,7 @@ def guess_country(ip, *positionals, **kwargs): log(f'Missing GeoIP database: {GEOIP_DB}', origin='guess_country', level=LOG_LEVELS.ERROR) return result -def setup_args_defaults(args, interactive=True): +def setup_args_defaults(args, *positionals, **kwargs): if not 'size' in args: args['size'] = '100%' if not 'mirrors' in args: args['mirrors'] = True if not 'start' in args: args['start'] = '513MiB' @@ -1160,7 +1160,7 @@ if __name__ == '__main__': ## If no drive was found in args, select one. if not 'drive' in args: - if interactive and len(harddrives): + if len(harddrives): drives = sorted(list(harddrives.keys())) if len(drives) > 1 and 'force' not in args and ('default' in args and 'first-drive' not in args): for index, drive in enumerate(drives): |