From d4c2fd61aad5010349767729eb913a75996de74c Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 27 Nov 2019 22:17:34 +0000 Subject: Adding debug --- archinstall.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2