index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-27 22:17:34 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-27 22:17:34 +0000 |
commit | d4c2fd61aad5010349767729eb913a75996de74c (patch) | |
tree | a0bc8bd56750c9ffbb4377e89219358e56b880b5 | |
parent | 198ba06c2749bae8f1e35a6e69a6ddf50708a17d (diff) |
-rw-r--r-- | archinstall.py | 5 |
diff --git a/archinstall.py b/archinstall.py index e2d8f945..548f9355 100644 --- a/archinstall.py +++ b/archinstall.py @@ -817,7 +817,10 @@ def setup_args_defaults(args, interactive=True): if not 'country' in args: country = None if get_default_gateway_linux(): - country = guess_country(get_external_ip()) + ip = get_external_ip() + print('IP:', ip) + country = guess_country(ip) + print('Country:', country) args['country'] = 'all' if not country else country if not 'localtime' in args: args['localtime'] = 'Europe/Stockholm' if args['country'] == 'SE' else 'GMT+0' # TODO: Arbitrary for now |